diff --git a/plugins/argo-workflows/src/api/ArgoWorkflows.ts b/plugins/argo-workflows/src/api/ArgoWorkflows.ts index 9e70fcf..deb8961 100644 --- a/plugins/argo-workflows/src/api/ArgoWorkflows.ts +++ b/plugins/argo-workflows/src/api/ArgoWorkflows.ts @@ -3,7 +3,7 @@ import { KubernetesApi } from "@backstage/plugin-kubernetes"; import { IoArgoprojWorkflowV1alpha1WorkflowList, IoArgoprojWorkflowV1alpha1WorkflowTemplateList, -} from "./generated"; +} from "./generated/api"; import { ArgoWorkflowsApi } from "./index"; const API_VERSION = "argoproj.io/v1alpha1"; diff --git a/plugins/argo-workflows/src/api/generated/api.ts b/plugins/argo-workflows/src/api/generated/api.ts new file mode 100644 index 0000000..4b76122 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api.ts @@ -0,0 +1,3 @@ +// This is the entrypoint for the package +export * from './api/apis'; +export * from './model/models'; \ No newline at end of file diff --git a/plugins/argo-workflows/src/api/generated/api/apis.ts b/plugins/argo-workflows/src/api/generated/api/apis.ts new file mode 100644 index 0000000..547c881 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/apis.ts @@ -0,0 +1,33 @@ +// @ts-nocheck +export * from './archivedWorkflowServiceApi'; +import { ArchivedWorkflowServiceApi } from './archivedWorkflowServiceApi'; +export * from './artifactServiceApi'; +import { ArtifactServiceApi } from './artifactServiceApi'; +export * from './clusterWorkflowTemplateServiceApi'; +import { ClusterWorkflowTemplateServiceApi } from './clusterWorkflowTemplateServiceApi'; +export * from './cronWorkflowServiceApi'; +import { CronWorkflowServiceApi } from './cronWorkflowServiceApi'; +export * from './eventServiceApi'; +import { EventServiceApi } from './eventServiceApi'; +export * from './eventSourceServiceApi'; +import { EventSourceServiceApi } from './eventSourceServiceApi'; +export * from './infoServiceApi'; +import { InfoServiceApi } from './infoServiceApi'; +export * from './sensorServiceApi'; +import { SensorServiceApi } from './sensorServiceApi'; +export * from './workflowServiceApi'; +import { WorkflowServiceApi } from './workflowServiceApi'; +export * from './workflowTemplateServiceApi'; +import { WorkflowTemplateServiceApi } from './workflowTemplateServiceApi'; +import * as http from 'http'; + +export class HttpError extends Error { + constructor (public response: http.IncomingMessage, public body: any, public statusCode?: number) { + super('HTTP request failed'); + this.name = 'HttpError'; + } +} + +export { RequestFile } from '../model/models'; + +export const APIS = [ArchivedWorkflowServiceApi, ArtifactServiceApi, ClusterWorkflowTemplateServiceApi, CronWorkflowServiceApi, EventServiceApi, EventSourceServiceApi, InfoServiceApi, SensorServiceApi, WorkflowServiceApi, WorkflowTemplateServiceApi]; diff --git a/plugins/argo-workflows/src/api/generated/api/archivedWorkflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/archivedWorkflowServiceApi.ts new file mode 100644 index 0000000..6062004 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/archivedWorkflowServiceApi.ts @@ -0,0 +1,714 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from '../model/ioArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from '../model/ioArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from '../model/ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from '../model/ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../model/ioArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../model/ioArgoprojWorkflowV1alpha1WorkflowList'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum ArchivedWorkflowServiceApiApiKeys { + BearerToken, +} + +export class ArchivedWorkflowServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: ArchivedWorkflowServiceApiApiKeys, value: string) { + (this.authentications as any)[ArchivedWorkflowServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param uid + * @param namespace + */ + public async archivedWorkflowServiceDeleteArchivedWorkflow (uid: string, namespace?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling archivedWorkflowServiceDeleteArchivedWorkflow.'); + } + + if (namespace !== undefined) { + localVarQueryParameters['namespace'] = ObjectSerializer.serialize(namespace, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param uid + * @param namespace + * @param name + */ + public async archivedWorkflowServiceGetArchivedWorkflow (uid: string, namespace?: string, name?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows/{uid}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling archivedWorkflowServiceGetArchivedWorkflow.'); + } + + if (namespace !== undefined) { + localVarQueryParameters['namespace'] = ObjectSerializer.serialize(namespace, "string"); + } + + if (name !== undefined) { + localVarQueryParameters['name'] = ObjectSerializer.serialize(name, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelKeys (namespace?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1LabelKeys; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows-label-keys'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + if (namespace !== undefined) { + localVarQueryParameters['namespace'] = ObjectSerializer.serialize(namespace, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1LabelKeys; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1LabelKeys"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param namespace + */ + public async archivedWorkflowServiceListArchivedWorkflowLabelValues (listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namespace?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1LabelValues; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows-label-values'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + if (namespace !== undefined) { + localVarQueryParameters['namespace'] = ObjectSerializer.serialize(namespace, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1LabelValues; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1LabelValues"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param namePrefix + * @param namespace + */ + public async archivedWorkflowServiceListArchivedWorkflows (listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, namePrefix?: string, namespace?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowList; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + if (namePrefix !== undefined) { + localVarQueryParameters['namePrefix'] = ObjectSerializer.serialize(namePrefix, "string"); + } + + if (namespace !== undefined) { + localVarQueryParameters['namespace'] = ObjectSerializer.serialize(namespace, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param uid + * @param body + */ + public async archivedWorkflowServiceResubmitArchivedWorkflow (uid: string, body: IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows/{uid}/resubmit' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling archivedWorkflowServiceResubmitArchivedWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling archivedWorkflowServiceResubmitArchivedWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param uid + * @param body + */ + public async archivedWorkflowServiceRetryArchivedWorkflow (uid: string, body: IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/archived-workflows/{uid}/retry' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling archivedWorkflowServiceRetryArchivedWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling archivedWorkflowServiceRetryArchivedWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/artifactServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/artifactServiceApi.ts new file mode 100644 index 0000000..542938d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/artifactServiceApi.ts @@ -0,0 +1,558 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum ArtifactServiceApiApiKeys { + BearerToken, +} + +export class ArtifactServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: ArtifactServiceApiApiKeys, value: string) { + (this.authentications as any)[ArtifactServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @summary Get an artifact. + * @param namespace + * @param idDiscriminator + * @param id + * @param nodeId + * @param artifactName + * @param artifactDiscriminator + */ + public async artifactServiceGetArtifactFile (namespace: string, idDiscriminator: 'workflow' | 'archived-workflows ', id: string, nodeId: string, artifactName: string, artifactDiscriminator: 'outputs', options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { + const localVarPath = this.basePath + '/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'idDiscriminator' + '}', encodeURIComponent(String(idDiscriminator))) + .replace('{' + 'id' + '}', encodeURIComponent(String(id))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))) + .replace('{' + 'artifactDiscriminator' + '}', encodeURIComponent(String(artifactDiscriminator))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + // verify required parameter 'idDiscriminator' is not null or undefined + if (idDiscriminator === null || idDiscriminator === undefined) { + throw new Error('Required parameter idDiscriminator was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new Error('Required parameter id was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new Error('Required parameter nodeId was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new Error('Required parameter artifactName was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + // verify required parameter 'artifactDiscriminator' is not null or undefined + if (artifactDiscriminator === null || artifactDiscriminator === undefined) { + throw new Error('Required parameter artifactDiscriminator was null or undefined when calling artifactServiceGetArtifactFile.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + encoding: null, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: Buffer; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "Buffer"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @summary Get an input artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifact (namespace: string, name: string, nodeId: string, artifactName: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { + const localVarPath = this.basePath + '/input-artifacts/{namespace}/{name}/{nodeId}/{artifactName}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling artifactServiceGetInputArtifact.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling artifactServiceGetInputArtifact.'); + } + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new Error('Required parameter nodeId was null or undefined when calling artifactServiceGetInputArtifact.'); + } + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new Error('Required parameter artifactName was null or undefined when calling artifactServiceGetInputArtifact.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + encoding: null, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: Buffer; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "Buffer"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @summary Get an input artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetInputArtifactByUID (uid: string, nodeId: string, artifactName: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { + const localVarPath = this.basePath + '/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling artifactServiceGetInputArtifactByUID.'); + } + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new Error('Required parameter nodeId was null or undefined when calling artifactServiceGetInputArtifactByUID.'); + } + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new Error('Required parameter artifactName was null or undefined when calling artifactServiceGetInputArtifactByUID.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + encoding: null, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: Buffer; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "Buffer"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @summary Get an output artifact. + * @param namespace + * @param name + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifact (namespace: string, name: string, nodeId: string, artifactName: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { + const localVarPath = this.basePath + '/artifacts/{namespace}/{name}/{nodeId}/{artifactName}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling artifactServiceGetOutputArtifact.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling artifactServiceGetOutputArtifact.'); + } + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new Error('Required parameter nodeId was null or undefined when calling artifactServiceGetOutputArtifact.'); + } + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new Error('Required parameter artifactName was null or undefined when calling artifactServiceGetOutputArtifact.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + encoding: null, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: Buffer; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "Buffer"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @summary Get an output artifact by UID. + * @param uid + * @param nodeId + * @param artifactName + */ + public async artifactServiceGetOutputArtifactByUID (uid: string, nodeId: string, artifactName: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Buffer; }> { + const localVarPath = this.basePath + '/artifacts-by-uid/{uid}/{nodeId}/{artifactName}' + .replace('{' + 'uid' + '}', encodeURIComponent(String(uid))) + .replace('{' + 'nodeId' + '}', encodeURIComponent(String(nodeId))) + .replace('{' + 'artifactName' + '}', encodeURIComponent(String(artifactName))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'uid' is not null or undefined + if (uid === null || uid === undefined) { + throw new Error('Required parameter uid was null or undefined when calling artifactServiceGetOutputArtifactByUID.'); + } + + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new Error('Required parameter nodeId was null or undefined when calling artifactServiceGetOutputArtifactByUID.'); + } + + // verify required parameter 'artifactName' is not null or undefined + if (artifactName === null || artifactName === undefined) { + throw new Error('Required parameter artifactName was null or undefined when calling artifactServiceGetOutputArtifactByUID.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + encoding: null, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: Buffer; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "Buffer"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/clusterWorkflowTemplateServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/clusterWorkflowTemplateServiceApi.ts new file mode 100644 index 0000000..9fbb932 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/clusterWorkflowTemplateServiceApi.ts @@ -0,0 +1,604 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from '../model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from '../model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from '../model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from '../model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum ClusterWorkflowTemplateServiceApiApiKeys { + BearerToken, +} + +export class ClusterWorkflowTemplateServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: ClusterWorkflowTemplateServiceApiApiKeys, value: string) { + (this.authentications as any)[ClusterWorkflowTemplateServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param body + */ + public async clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate (body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling clusterWorkflowTemplateServiceCreateClusterWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + */ + public async clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate (name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling clusterWorkflowTemplateServiceDeleteClusterWorkflowTemplate.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param name + * @param getOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + */ + public async clusterWorkflowTemplateServiceGetClusterWorkflowTemplate (name: string, getOptionsResourceVersion?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling clusterWorkflowTemplateServiceGetClusterWorkflowTemplate.'); + } + + if (getOptionsResourceVersion !== undefined) { + localVarQueryParameters['getOptions.resourceVersion'] = ObjectSerializer.serialize(getOptionsResourceVersion, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param body + */ + public async clusterWorkflowTemplateServiceLintClusterWorkflowTemplate (body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates/lint'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling clusterWorkflowTemplateServiceLintClusterWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async clusterWorkflowTemplateServiceListClusterWorkflowTemplates (listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate (name: string, body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/cluster-workflow-templates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling clusterWorkflowTemplateServiceUpdateClusterWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/cronWorkflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/cronWorkflowServiceApi.ts new file mode 100644 index 0000000..04a1337 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/cronWorkflowServiceApi.ts @@ -0,0 +1,818 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from '../model/ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../model/ioArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from '../model/ioArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from '../model/ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from '../model/ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from '../model/ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from '../model/ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum CronWorkflowServiceApiApiKeys { + BearerToken, +} + +export class CronWorkflowServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: CronWorkflowServiceApiApiKeys, value: string) { + (this.authentications as any)[CronWorkflowServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param body + */ + public async cronWorkflowServiceCreateCronWorkflow (namespace: string, body: IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceCreateCronWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling cronWorkflowServiceCreateCronWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + */ + public async cronWorkflowServiceDeleteCronWorkflow (namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceDeleteCronWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling cronWorkflowServiceDeleteCronWorkflow.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param getOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + */ + public async cronWorkflowServiceGetCronWorkflow (namespace: string, name: string, getOptionsResourceVersion?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceGetCronWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling cronWorkflowServiceGetCronWorkflow.'); + } + + if (getOptionsResourceVersion !== undefined) { + localVarQueryParameters['getOptions.resourceVersion'] = ObjectSerializer.serialize(getOptionsResourceVersion, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param body + */ + public async cronWorkflowServiceLintCronWorkflow (namespace: string, body: IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceLintCronWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling cronWorkflowServiceLintCronWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async cronWorkflowServiceListCronWorkflows (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflowList; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceListCronWorkflows.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflowList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceResumeCronWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceResumeCronWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling cronWorkflowServiceResumeCronWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling cronWorkflowServiceResumeCronWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async cronWorkflowServiceSuspendCronWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceSuspendCronWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling cronWorkflowServiceSuspendCronWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling cronWorkflowServiceSuspendCronWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async cronWorkflowServiceUpdateCronWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }> { + const localVarPath = this.basePath + '/api/v1/cron-workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling cronWorkflowServiceUpdateCronWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling cronWorkflowServiceUpdateCronWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling cronWorkflowServiceUpdateCronWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1CronWorkflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1CronWorkflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/eventServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/eventServiceApi.ts new file mode 100644 index 0000000..35f123c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/eventServiceApi.ts @@ -0,0 +1,295 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from '../model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingList'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum EventServiceApiApiKeys { + BearerToken, +} + +export class EventServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: EventServiceApiApiKeys, value: string) { + (this.authentications as any)[EventServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async eventServiceListWorkflowEventBindings (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; }> { + const localVarPath = this.basePath + '/api/v1/workflow-event-bindings/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventServiceListWorkflowEventBindings.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowEventBindingList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace The namespace for the io.argoproj.workflow.v1alpha1. This can be empty if the client has cluster scoped permissions. If empty, then the event is \"broadcast\" to workflow event binding in all namespaces. + * @param discriminator Optional discriminator for the io.argoproj.workflow.v1alpha1. This should almost always be empty. Used for edge-cases where the event payload alone is not provide enough information to discriminate the event. This MUST NOT be used as security mechanism, e.g. to allow two clients to use the same access token, or to support webhooks on unsecured server. Instead, use access tokens. This is made available as `discriminator` in the event binding selector (`/spec/event/selector)` + * @param body The event itself can be any data. + */ + public async eventServiceReceiveEvent (namespace: string, discriminator: string, body: object, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/events/{namespace}/{discriminator}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'discriminator' + '}', encodeURIComponent(String(discriminator))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventServiceReceiveEvent.'); + } + + // verify required parameter 'discriminator' is not null or undefined + if (discriminator === null || discriminator === undefined) { + throw new Error('Required parameter discriminator was null or undefined when calling eventServiceReceiveEvent.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling eventServiceReceiveEvent.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "object") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/eventSourceServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/eventSourceServiceApi.ts new file mode 100644 index 0000000..b0526eb --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/eventSourceServiceApi.ts @@ -0,0 +1,821 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { EventsourceCreateEventSourceRequest } from '../model/eventsourceCreateEventSourceRequest'; +import { EventsourceUpdateEventSourceRequest } from '../model/eventsourceUpdateEventSourceRequest'; +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1EventSource } from '../model/ioArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceList } from '../model/ioArgoprojEventsV1alpha1EventSourceList'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from '../model/streamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from '../model/streamResultOfEventsourceLogEntry'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum EventSourceServiceApiApiKeys { + BearerToken, +} + +export class EventSourceServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: EventSourceServiceApiApiKeys, value: string) { + (this.authentications as any)[EventSourceServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param body + */ + public async eventSourceServiceCreateEventSource (namespace: string, body: EventsourceCreateEventSourceRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }> { + const localVarPath = this.basePath + '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceCreateEventSource.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling eventSourceServiceCreateEventSource.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "EventsourceCreateEventSourceRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1EventSource"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + */ + public async eventSourceServiceDeleteEventSource (namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceDeleteEventSource.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling eventSourceServiceDeleteEventSource.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name optional - only return entries for this event source. + * @param eventSourceType optional - only return entries for this event source type (e.g. `webhook`). + * @param eventName optional - only return entries for this event name (e.g. `example`). + * @param grep optional - only return entries where `msg` matches this regular expression. + * @param podLogOptionsContainer The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @param podLogOptionsFollow Follow the log stream of the pod. Defaults to false. +optional. + * @param podLogOptionsPrevious Return previous terminated container logs. Defaults to false. +optional. + * @param podLogOptionsSinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. + * @param podLogOptionsSinceTimeSeconds Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + * @param podLogOptionsSinceTimeNanos Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. + * @param podLogOptionsTimestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @param podLogOptionsTailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. + * @param podLogOptionsLimitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. + * @param podLogOptionsInsecureSkipTLSVerifyBackend insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. + */ + public async eventSourceServiceEventSourcesLogs (namespace: string, name?: string, eventSourceType?: string, eventName?: string, grep?: string, podLogOptionsContainer?: string, podLogOptionsFollow?: boolean, podLogOptionsPrevious?: boolean, podLogOptionsSinceSeconds?: string, podLogOptionsSinceTimeSeconds?: string, podLogOptionsSinceTimeNanos?: number, podLogOptionsTimestamps?: boolean, podLogOptionsTailLines?: string, podLogOptionsLimitBytes?: string, podLogOptionsInsecureSkipTLSVerifyBackend?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfEventsourceLogEntry; }> { + const localVarPath = this.basePath + '/api/v1/stream/event-sources/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceEventSourcesLogs.'); + } + + if (name !== undefined) { + localVarQueryParameters['name'] = ObjectSerializer.serialize(name, "string"); + } + + if (eventSourceType !== undefined) { + localVarQueryParameters['eventSourceType'] = ObjectSerializer.serialize(eventSourceType, "string"); + } + + if (eventName !== undefined) { + localVarQueryParameters['eventName'] = ObjectSerializer.serialize(eventName, "string"); + } + + if (grep !== undefined) { + localVarQueryParameters['grep'] = ObjectSerializer.serialize(grep, "string"); + } + + if (podLogOptionsContainer !== undefined) { + localVarQueryParameters['podLogOptions.container'] = ObjectSerializer.serialize(podLogOptionsContainer, "string"); + } + + if (podLogOptionsFollow !== undefined) { + localVarQueryParameters['podLogOptions.follow'] = ObjectSerializer.serialize(podLogOptionsFollow, "boolean"); + } + + if (podLogOptionsPrevious !== undefined) { + localVarQueryParameters['podLogOptions.previous'] = ObjectSerializer.serialize(podLogOptionsPrevious, "boolean"); + } + + if (podLogOptionsSinceSeconds !== undefined) { + localVarQueryParameters['podLogOptions.sinceSeconds'] = ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string"); + } + + if (podLogOptionsSinceTimeSeconds !== undefined) { + localVarQueryParameters['podLogOptions.sinceTime.seconds'] = ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string"); + } + + if (podLogOptionsSinceTimeNanos !== undefined) { + localVarQueryParameters['podLogOptions.sinceTime.nanos'] = ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number"); + } + + if (podLogOptionsTimestamps !== undefined) { + localVarQueryParameters['podLogOptions.timestamps'] = ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean"); + } + + if (podLogOptionsTailLines !== undefined) { + localVarQueryParameters['podLogOptions.tailLines'] = ObjectSerializer.serialize(podLogOptionsTailLines, "string"); + } + + if (podLogOptionsLimitBytes !== undefined) { + localVarQueryParameters['podLogOptions.limitBytes'] = ObjectSerializer.serialize(podLogOptionsLimitBytes, "string"); + } + + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + localVarQueryParameters['podLogOptions.insecureSkipTLSVerifyBackend'] = ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfEventsourceLogEntry; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfEventsourceLogEntry"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + */ + public async eventSourceServiceGetEventSource (namespace: string, name: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }> { + const localVarPath = this.basePath + '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceGetEventSource.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling eventSourceServiceGetEventSource.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1EventSource"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async eventSourceServiceListEventSources (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSourceList; }> { + const localVarPath = this.basePath + '/api/v1/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceListEventSources.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSourceList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1EventSourceList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async eventSourceServiceUpdateEventSource (namespace: string, name: string, body: EventsourceUpdateEventSourceRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }> { + const localVarPath = this.basePath + '/api/v1/event-sources/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceUpdateEventSource.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling eventSourceServiceUpdateEventSource.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling eventSourceServiceUpdateEventSource.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "EventsourceUpdateEventSourceRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1EventSource; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1EventSource"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async eventSourceServiceWatchEventSources (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfEventsourceEventSourceWatchEvent; }> { + const localVarPath = this.basePath + '/api/v1/stream/event-sources/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling eventSourceServiceWatchEventSources.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfEventsourceEventSourceWatchEvent; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfEventsourceEventSourceWatchEvent"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/infoServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/infoServiceApi.ts new file mode 100644 index 0000000..e9af56c --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/infoServiceApi.ts @@ -0,0 +1,360 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from '../model/ioArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from '../model/ioArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from '../model/ioArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Version } from '../model/ioArgoprojWorkflowV1alpha1Version'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum InfoServiceApiApiKeys { + BearerToken, +} + +export class InfoServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: InfoServiceApiApiKeys, value: string) { + (this.authentications as any)[InfoServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param body + */ + public async infoServiceCollectEvent (body: IoArgoprojWorkflowV1alpha1CollectEventRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/tracking/event'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling infoServiceCollectEvent.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1CollectEventRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + */ + public async infoServiceGetInfo (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1InfoResponse; }> { + const localVarPath = this.basePath + '/api/v1/info'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1InfoResponse; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1InfoResponse"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + */ + public async infoServiceGetUserInfo (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse; }> { + const localVarPath = this.basePath + '/api/v1/userinfo'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1GetUserInfoResponse; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1GetUserInfoResponse"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + */ + public async infoServiceGetVersion (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Version; }> { + const localVarPath = this.basePath + '/api/v1/version'; + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Version; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Version"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/sensorServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/sensorServiceApi.ts new file mode 100644 index 0000000..7e5f0ad --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/sensorServiceApi.ts @@ -0,0 +1,821 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojEventsV1alpha1Sensor } from '../model/ioArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from '../model/ioArgoprojEventsV1alpha1SensorList'; +import { SensorCreateSensorRequest } from '../model/sensorCreateSensorRequest'; +import { SensorUpdateSensorRequest } from '../model/sensorUpdateSensorRequest'; +import { StreamResultOfSensorLogEntry } from '../model/streamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from '../model/streamResultOfSensorSensorWatchEvent'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum SensorServiceApiApiKeys { + BearerToken, +} + +export class SensorServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: SensorServiceApiApiKeys, value: string) { + (this.authentications as any)[SensorServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param body + */ + public async sensorServiceCreateSensor (namespace: string, body: SensorCreateSensorRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }> { + const localVarPath = this.basePath + '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceCreateSensor.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling sensorServiceCreateSensor.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "SensorCreateSensorRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1Sensor"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + */ + public async sensorServiceDeleteSensor (namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceDeleteSensor.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling sensorServiceDeleteSensor.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param getOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + */ + public async sensorServiceGetSensor (namespace: string, name: string, getOptionsResourceVersion?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }> { + const localVarPath = this.basePath + '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceGetSensor.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling sensorServiceGetSensor.'); + } + + if (getOptionsResourceVersion !== undefined) { + localVarQueryParameters['getOptions.resourceVersion'] = ObjectSerializer.serialize(getOptionsResourceVersion, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1Sensor"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async sensorServiceListSensors (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1SensorList; }> { + const localVarPath = this.basePath + '/api/v1/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceListSensors.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1SensorList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1SensorList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name optional - only return entries for this sensor name. + * @param triggerName optional - only return entries for this trigger. + * @param grep option - only return entries where `msg` contains this regular expressions. + * @param podLogOptionsContainer The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @param podLogOptionsFollow Follow the log stream of the pod. Defaults to false. +optional. + * @param podLogOptionsPrevious Return previous terminated container logs. Defaults to false. +optional. + * @param podLogOptionsSinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. + * @param podLogOptionsSinceTimeSeconds Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + * @param podLogOptionsSinceTimeNanos Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. + * @param podLogOptionsTimestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @param podLogOptionsTailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. + * @param podLogOptionsLimitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. + * @param podLogOptionsInsecureSkipTLSVerifyBackend insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. + */ + public async sensorServiceSensorsLogs (namespace: string, name?: string, triggerName?: string, grep?: string, podLogOptionsContainer?: string, podLogOptionsFollow?: boolean, podLogOptionsPrevious?: boolean, podLogOptionsSinceSeconds?: string, podLogOptionsSinceTimeSeconds?: string, podLogOptionsSinceTimeNanos?: number, podLogOptionsTimestamps?: boolean, podLogOptionsTailLines?: string, podLogOptionsLimitBytes?: string, podLogOptionsInsecureSkipTLSVerifyBackend?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfSensorLogEntry; }> { + const localVarPath = this.basePath + '/api/v1/stream/sensors/{namespace}/logs' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceSensorsLogs.'); + } + + if (name !== undefined) { + localVarQueryParameters['name'] = ObjectSerializer.serialize(name, "string"); + } + + if (triggerName !== undefined) { + localVarQueryParameters['triggerName'] = ObjectSerializer.serialize(triggerName, "string"); + } + + if (grep !== undefined) { + localVarQueryParameters['grep'] = ObjectSerializer.serialize(grep, "string"); + } + + if (podLogOptionsContainer !== undefined) { + localVarQueryParameters['podLogOptions.container'] = ObjectSerializer.serialize(podLogOptionsContainer, "string"); + } + + if (podLogOptionsFollow !== undefined) { + localVarQueryParameters['podLogOptions.follow'] = ObjectSerializer.serialize(podLogOptionsFollow, "boolean"); + } + + if (podLogOptionsPrevious !== undefined) { + localVarQueryParameters['podLogOptions.previous'] = ObjectSerializer.serialize(podLogOptionsPrevious, "boolean"); + } + + if (podLogOptionsSinceSeconds !== undefined) { + localVarQueryParameters['podLogOptions.sinceSeconds'] = ObjectSerializer.serialize(podLogOptionsSinceSeconds, "string"); + } + + if (podLogOptionsSinceTimeSeconds !== undefined) { + localVarQueryParameters['podLogOptions.sinceTime.seconds'] = ObjectSerializer.serialize(podLogOptionsSinceTimeSeconds, "string"); + } + + if (podLogOptionsSinceTimeNanos !== undefined) { + localVarQueryParameters['podLogOptions.sinceTime.nanos'] = ObjectSerializer.serialize(podLogOptionsSinceTimeNanos, "number"); + } + + if (podLogOptionsTimestamps !== undefined) { + localVarQueryParameters['podLogOptions.timestamps'] = ObjectSerializer.serialize(podLogOptionsTimestamps, "boolean"); + } + + if (podLogOptionsTailLines !== undefined) { + localVarQueryParameters['podLogOptions.tailLines'] = ObjectSerializer.serialize(podLogOptionsTailLines, "string"); + } + + if (podLogOptionsLimitBytes !== undefined) { + localVarQueryParameters['podLogOptions.limitBytes'] = ObjectSerializer.serialize(podLogOptionsLimitBytes, "string"); + } + + if (podLogOptionsInsecureSkipTLSVerifyBackend !== undefined) { + localVarQueryParameters['podLogOptions.insecureSkipTLSVerifyBackend'] = ObjectSerializer.serialize(podLogOptionsInsecureSkipTLSVerifyBackend, "boolean"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfSensorLogEntry; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfSensorLogEntry"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async sensorServiceUpdateSensor (namespace: string, name: string, body: SensorUpdateSensorRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }> { + const localVarPath = this.basePath + '/api/v1/sensors/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceUpdateSensor.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling sensorServiceUpdateSensor.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling sensorServiceUpdateSensor.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "SensorUpdateSensorRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojEventsV1alpha1Sensor; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojEventsV1alpha1Sensor"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async sensorServiceWatchSensors (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfSensorSensorWatchEvent; }> { + const localVarPath = this.basePath + '/api/v1/stream/sensors/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling sensorServiceWatchSensors.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfSensorSensorWatchEvent; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfSensorSensorWatchEvent"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/workflowServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/workflowServiceApi.ts new file mode 100644 index 0000000..5df7148 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/workflowServiceApi.ts @@ -0,0 +1,1785 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1Workflow } from '../model/ioArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from '../model/ioArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from '../model/streamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../model/streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from '../model/streamResultOfIoK8sApiCoreV1Event'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum WorkflowServiceApiApiKeys { + BearerToken, +} + +export class WorkflowServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: WorkflowServiceApiApiKeys, value: string) { + (this.authentications as any)[WorkflowServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param body + */ + public async workflowServiceCreateWorkflow (namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceCreateWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceCreateWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowCreateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + * @param force + */ + public async workflowServiceDeleteWorkflow (namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, force?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceDeleteWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceDeleteWorkflow.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + if (force !== undefined) { + localVarQueryParameters['force'] = ObjectSerializer.serialize(force, "boolean"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param getOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param fields Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". + */ + public async workflowServiceGetWorkflow (namespace: string, name: string, getOptionsResourceVersion?: string, fields?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceGetWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceGetWorkflow.'); + } + + if (getOptionsResourceVersion !== undefined) { + localVarQueryParameters['getOptions.resourceVersion'] = ObjectSerializer.serialize(getOptionsResourceVersion, "string"); + } + + if (fields !== undefined) { + localVarQueryParameters['fields'] = ObjectSerializer.serialize(fields, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param body + */ + public async workflowServiceLintWorkflow (namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowLintRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceLintWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceLintWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowLintRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fields Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". + */ + public async workflowServiceListWorkflows (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowList; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceListWorkflows.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + if (fields !== undefined) { + localVarQueryParameters['fields'] = ObjectSerializer.serialize(fields, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @summary DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. + * @param namespace + * @param name + * @param podName + * @param logOptionsContainer The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @param logOptionsFollow Follow the log stream of the pod. Defaults to false. +optional. + * @param logOptionsPrevious Return previous terminated container logs. Defaults to false. +optional. + * @param logOptionsSinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. + * @param logOptionsSinceTimeSeconds Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + * @param logOptionsSinceTimeNanos Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. + * @param logOptionsTimestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @param logOptionsTailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. + * @param logOptionsLimitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. + * @param logOptionsInsecureSkipTLSVerifyBackend insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. + * @param grep + * @param selector + */ + public async workflowServicePodLogs (namespace: string, name: string, podName: string, logOptionsContainer?: string, logOptionsFollow?: boolean, logOptionsPrevious?: boolean, logOptionsSinceSeconds?: string, logOptionsSinceTimeSeconds?: string, logOptionsSinceTimeNanos?: number, logOptionsTimestamps?: boolean, logOptionsTailLines?: string, logOptionsLimitBytes?: string, logOptionsInsecureSkipTLSVerifyBackend?: boolean, grep?: string, selector?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/{podName}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'podName' + '}', encodeURIComponent(String(podName))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServicePodLogs.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServicePodLogs.'); + } + + // verify required parameter 'podName' is not null or undefined + if (podName === null || podName === undefined) { + throw new Error('Required parameter podName was null or undefined when calling workflowServicePodLogs.'); + } + + if (logOptionsContainer !== undefined) { + localVarQueryParameters['logOptions.container'] = ObjectSerializer.serialize(logOptionsContainer, "string"); + } + + if (logOptionsFollow !== undefined) { + localVarQueryParameters['logOptions.follow'] = ObjectSerializer.serialize(logOptionsFollow, "boolean"); + } + + if (logOptionsPrevious !== undefined) { + localVarQueryParameters['logOptions.previous'] = ObjectSerializer.serialize(logOptionsPrevious, "boolean"); + } + + if (logOptionsSinceSeconds !== undefined) { + localVarQueryParameters['logOptions.sinceSeconds'] = ObjectSerializer.serialize(logOptionsSinceSeconds, "string"); + } + + if (logOptionsSinceTimeSeconds !== undefined) { + localVarQueryParameters['logOptions.sinceTime.seconds'] = ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string"); + } + + if (logOptionsSinceTimeNanos !== undefined) { + localVarQueryParameters['logOptions.sinceTime.nanos'] = ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number"); + } + + if (logOptionsTimestamps !== undefined) { + localVarQueryParameters['logOptions.timestamps'] = ObjectSerializer.serialize(logOptionsTimestamps, "boolean"); + } + + if (logOptionsTailLines !== undefined) { + localVarQueryParameters['logOptions.tailLines'] = ObjectSerializer.serialize(logOptionsTailLines, "string"); + } + + if (logOptionsLimitBytes !== undefined) { + localVarQueryParameters['logOptions.limitBytes'] = ObjectSerializer.serialize(logOptionsLimitBytes, "string"); + } + + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + localVarQueryParameters['logOptions.insecureSkipTLSVerifyBackend'] = ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean"); + } + + if (grep !== undefined) { + localVarQueryParameters['grep'] = ObjectSerializer.serialize(grep, "string"); + } + + if (selector !== undefined) { + localVarQueryParameters['selector'] = ObjectSerializer.serialize(selector, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResubmitWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/resubmit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceResubmitWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceResubmitWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceResubmitWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceResumeWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/resume' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceResumeWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceResumeWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceResumeWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowResumeRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceRetryWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/retry' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceRetryWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceRetryWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceRetryWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowRetryRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSetWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSetRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/set' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceSetWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceSetWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceSetWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSetRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceStopWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowStopRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/stop' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceStopWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceStopWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceStopWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowStopRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param body + */ + public async workflowServiceSubmitWorkflow (namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/submit' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceSubmitWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceSubmitWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceSuspendWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/suspend' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceSuspendWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceSuspendWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceSuspendWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param body + */ + public async workflowServiceTerminateWorkflow (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/terminate' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceTerminateWorkflow.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceTerminateWorkflow.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowServiceTerminateWorkflow.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1Workflow; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1Workflow"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async workflowServiceWatchEvents (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfIoK8sApiCoreV1Event; }> { + const localVarPath = this.basePath + '/api/v1/stream/events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceWatchEvents.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfIoK8sApiCoreV1Event; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfIoK8sApiCoreV1Event"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fields + */ + public async workflowServiceWatchWorkflows (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, fields?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; }> { + const localVarPath = this.basePath + '/api/v1/workflow-events/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceWatchWorkflows.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + if (fields !== undefined) { + localVarQueryParameters['fields'] = ObjectSerializer.serialize(fields, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param podName + * @param logOptionsContainer The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. + * @param logOptionsFollow Follow the log stream of the pod. Defaults to false. +optional. + * @param logOptionsPrevious Return previous terminated container logs. Defaults to false. +optional. + * @param logOptionsSinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. + * @param logOptionsSinceTimeSeconds Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. + * @param logOptionsSinceTimeNanos Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. + * @param logOptionsTimestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. + * @param logOptionsTailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. + * @param logOptionsLimitBytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. + * @param logOptionsInsecureSkipTLSVerifyBackend insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. + * @param grep + * @param selector + */ + public async workflowServiceWorkflowLogs (namespace: string, name: string, podName?: string, logOptionsContainer?: string, logOptionsFollow?: boolean, logOptionsPrevious?: boolean, logOptionsSinceSeconds?: string, logOptionsSinceTimeSeconds?: string, logOptionsSinceTimeNanos?: number, logOptionsTimestamps?: boolean, logOptionsTailLines?: string, logOptionsLimitBytes?: string, logOptionsInsecureSkipTLSVerifyBackend?: boolean, grep?: string, selector?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; }> { + const localVarPath = this.basePath + '/api/v1/workflows/{namespace}/{name}/log' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowServiceWorkflowLogs.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowServiceWorkflowLogs.'); + } + + if (podName !== undefined) { + localVarQueryParameters['podName'] = ObjectSerializer.serialize(podName, "string"); + } + + if (logOptionsContainer !== undefined) { + localVarQueryParameters['logOptions.container'] = ObjectSerializer.serialize(logOptionsContainer, "string"); + } + + if (logOptionsFollow !== undefined) { + localVarQueryParameters['logOptions.follow'] = ObjectSerializer.serialize(logOptionsFollow, "boolean"); + } + + if (logOptionsPrevious !== undefined) { + localVarQueryParameters['logOptions.previous'] = ObjectSerializer.serialize(logOptionsPrevious, "boolean"); + } + + if (logOptionsSinceSeconds !== undefined) { + localVarQueryParameters['logOptions.sinceSeconds'] = ObjectSerializer.serialize(logOptionsSinceSeconds, "string"); + } + + if (logOptionsSinceTimeSeconds !== undefined) { + localVarQueryParameters['logOptions.sinceTime.seconds'] = ObjectSerializer.serialize(logOptionsSinceTimeSeconds, "string"); + } + + if (logOptionsSinceTimeNanos !== undefined) { + localVarQueryParameters['logOptions.sinceTime.nanos'] = ObjectSerializer.serialize(logOptionsSinceTimeNanos, "number"); + } + + if (logOptionsTimestamps !== undefined) { + localVarQueryParameters['logOptions.timestamps'] = ObjectSerializer.serialize(logOptionsTimestamps, "boolean"); + } + + if (logOptionsTailLines !== undefined) { + localVarQueryParameters['logOptions.tailLines'] = ObjectSerializer.serialize(logOptionsTailLines, "string"); + } + + if (logOptionsLimitBytes !== undefined) { + localVarQueryParameters['logOptions.limitBytes'] = ObjectSerializer.serialize(logOptionsLimitBytes, "string"); + } + + if (logOptionsInsecureSkipTLSVerifyBackend !== undefined) { + localVarQueryParameters['logOptions.insecureSkipTLSVerifyBackend'] = ObjectSerializer.serialize(logOptionsInsecureSkipTLSVerifyBackend, "boolean"); + } + + if (grep !== undefined) { + localVarQueryParameters['grep'] = ObjectSerializer.serialize(grep, "string"); + } + + if (selector !== undefined) { + localVarQueryParameters['selector'] = ObjectSerializer.serialize(selector, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/api/workflowTemplateServiceApi.ts b/plugins/argo-workflows/src/api/generated/api/workflowTemplateServiceApi.ts new file mode 100644 index 0000000..db7c47b --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/api/workflowTemplateServiceApi.ts @@ -0,0 +1,646 @@ +// @ts-nocheck +/** + * 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/ + * + * The version of the OpenAPI document: VERSION + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import localVarRequest from 'request'; +import http from 'http'; + +/* tslint:disable:no-unused-locals */ +import { GrpcGatewayRuntimeError } from '../model/grpcGatewayRuntimeError'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from '../model/ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; + +import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models'; +import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth } from '../model/models'; + +import { HttpError, RequestFile } from './apis'; + +let defaultBasePath = 'http://localhost:2746'; + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum WorkflowTemplateServiceApiApiKeys { + BearerToken, +} + +export class WorkflowTemplateServiceApi { + protected _basePath = defaultBasePath; + protected _defaultHeaders : any = {}; + protected _useQuerystring : boolean = false; + + protected authentications = { + 'default': new VoidAuth(), + 'BearerToken': new ApiKeyAuth('header', 'Authorization'), + } + + protected interceptors: Interceptor[] = []; + + constructor(basePath?: string); + constructor(basePathOrUsername: string, password?: string, basePath?: string) { + if (password) { + if (basePath) { + this.basePath = basePath; + } + } else { + if (basePathOrUsername) { + this.basePath = basePathOrUsername + } + } + } + + set useQuerystring(value: boolean) { + this._useQuerystring = value; + } + + set basePath(basePath: string) { + this._basePath = basePath; + } + + set defaultHeaders(defaultHeaders: any) { + this._defaultHeaders = defaultHeaders; + } + + get defaultHeaders() { + return this._defaultHeaders; + } + + get basePath() { + return this._basePath; + } + + public setDefaultAuthentication(auth: Authentication) { + this.authentications.default = auth; + } + + public setApiKey(key: WorkflowTemplateServiceApiApiKeys, value: string) { + (this.authentications as any)[WorkflowTemplateServiceApiApiKeys[key]].apiKey = value; + } + + public addInterceptor(interceptor: Interceptor) { + this.interceptors.push(interceptor); + } + + /** + * + * @param namespace + * @param body + */ + public async workflowTemplateServiceCreateWorkflowTemplate (namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceCreateWorkflowTemplate.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowTemplateServiceCreateWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param deleteOptionsGracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. + * @param deleteOptionsPreconditionsUid Specifies the target UID. +optional. + * @param deleteOptionsPreconditionsResourceVersion Specifies the target ResourceVersion +optional. + * @param deleteOptionsOrphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. + * @param deleteOptionsPropagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. +optional. + * @param deleteOptionsDryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. + */ + public async workflowTemplateServiceDeleteWorkflowTemplate (namespace: string, name: string, deleteOptionsGracePeriodSeconds?: string, deleteOptionsPreconditionsUid?: string, deleteOptionsPreconditionsResourceVersion?: string, deleteOptionsOrphanDependents?: boolean, deleteOptionsPropagationPolicy?: string, deleteOptionsDryRun?: Array, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: object; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceDeleteWorkflowTemplate.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowTemplateServiceDeleteWorkflowTemplate.'); + } + + if (deleteOptionsGracePeriodSeconds !== undefined) { + localVarQueryParameters['deleteOptions.gracePeriodSeconds'] = ObjectSerializer.serialize(deleteOptionsGracePeriodSeconds, "string"); + } + + if (deleteOptionsPreconditionsUid !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.uid'] = ObjectSerializer.serialize(deleteOptionsPreconditionsUid, "string"); + } + + if (deleteOptionsPreconditionsResourceVersion !== undefined) { + localVarQueryParameters['deleteOptions.preconditions.resourceVersion'] = ObjectSerializer.serialize(deleteOptionsPreconditionsResourceVersion, "string"); + } + + if (deleteOptionsOrphanDependents !== undefined) { + localVarQueryParameters['deleteOptions.orphanDependents'] = ObjectSerializer.serialize(deleteOptionsOrphanDependents, "boolean"); + } + + if (deleteOptionsPropagationPolicy !== undefined) { + localVarQueryParameters['deleteOptions.propagationPolicy'] = ObjectSerializer.serialize(deleteOptionsPropagationPolicy, "string"); + } + + if (deleteOptionsDryRun !== undefined) { + localVarQueryParameters['deleteOptions.dryRun'] = ObjectSerializer.serialize(deleteOptionsDryRun, "Array"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'DELETE', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: object; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "object"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name + * @param getOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + */ + public async workflowTemplateServiceGetWorkflowTemplate (namespace: string, name: string, getOptionsResourceVersion?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceGetWorkflowTemplate.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowTemplateServiceGetWorkflowTemplate.'); + } + + if (getOptionsResourceVersion !== undefined) { + localVarQueryParameters['getOptions.resourceVersion'] = ObjectSerializer.serialize(getOptionsResourceVersion, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param body + */ + public async workflowTemplateServiceLintWorkflowTemplate (namespace: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}/lint' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceLintWorkflowTemplate.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowTemplateServiceLintWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'POST', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param listOptionsLabelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. + * @param listOptionsFieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. + * @param listOptionsWatch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. + * @param listOptionsAllowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. +optional. + * @param listOptionsResourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsResourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional + * @param listOptionsTimeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. + * @param listOptionsLimit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param listOptionsContinue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + */ + public async workflowTemplateServiceListWorkflowTemplates (namespace: string, listOptionsLabelSelector?: string, listOptionsFieldSelector?: string, listOptionsWatch?: boolean, listOptionsAllowWatchBookmarks?: boolean, listOptionsResourceVersion?: string, listOptionsResourceVersionMatch?: string, listOptionsTimeoutSeconds?: string, listOptionsLimit?: string, listOptionsContinue?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceListWorkflowTemplates.'); + } + + if (listOptionsLabelSelector !== undefined) { + localVarQueryParameters['listOptions.labelSelector'] = ObjectSerializer.serialize(listOptionsLabelSelector, "string"); + } + + if (listOptionsFieldSelector !== undefined) { + localVarQueryParameters['listOptions.fieldSelector'] = ObjectSerializer.serialize(listOptionsFieldSelector, "string"); + } + + if (listOptionsWatch !== undefined) { + localVarQueryParameters['listOptions.watch'] = ObjectSerializer.serialize(listOptionsWatch, "boolean"); + } + + if (listOptionsAllowWatchBookmarks !== undefined) { + localVarQueryParameters['listOptions.allowWatchBookmarks'] = ObjectSerializer.serialize(listOptionsAllowWatchBookmarks, "boolean"); + } + + if (listOptionsResourceVersion !== undefined) { + localVarQueryParameters['listOptions.resourceVersion'] = ObjectSerializer.serialize(listOptionsResourceVersion, "string"); + } + + if (listOptionsResourceVersionMatch !== undefined) { + localVarQueryParameters['listOptions.resourceVersionMatch'] = ObjectSerializer.serialize(listOptionsResourceVersionMatch, "string"); + } + + if (listOptionsTimeoutSeconds !== undefined) { + localVarQueryParameters['listOptions.timeoutSeconds'] = ObjectSerializer.serialize(listOptionsTimeoutSeconds, "string"); + } + + if (listOptionsLimit !== undefined) { + localVarQueryParameters['listOptions.limit'] = ObjectSerializer.serialize(listOptionsLimit, "string"); + } + + if (listOptionsContinue !== undefined) { + localVarQueryParameters['listOptions.continue'] = ObjectSerializer.serialize(listOptionsContinue, "string"); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'GET', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplateList; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateList"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } + /** + * + * @param namespace + * @param name DEPRECATED: This field is ignored. + * @param body + */ + public async workflowTemplateServiceUpdateWorkflowTemplate (namespace: string, name: string, body: IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }> { + const localVarPath = this.basePath + '/api/v1/workflow-templates/{namespace}/{name}' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))) + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + let localVarQueryParameters: any = {}; + let localVarHeaderParams: any = (Object).assign({}, this._defaultHeaders); + const produces = ['application/json']; + // give precedence to 'application/json' + if (produces.indexOf('application/json') >= 0) { + localVarHeaderParams.Accept = 'application/json'; + } else { + localVarHeaderParams.Accept = produces.join(','); + } + let localVarFormParams: any = {}; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new Error('Required parameter namespace was null or undefined when calling workflowTemplateServiceUpdateWorkflowTemplate.'); + } + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new Error('Required parameter name was null or undefined when calling workflowTemplateServiceUpdateWorkflowTemplate.'); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new Error('Required parameter body was null or undefined when calling workflowTemplateServiceUpdateWorkflowTemplate.'); + } + + (Object).assign(localVarHeaderParams, options.headers); + + let localVarUseFormData = false; + + let localVarRequestOptions: localVarRequest.Options = { + method: 'PUT', + qs: localVarQueryParameters, + headers: localVarHeaderParams, + uri: localVarPath, + useQuerystring: this._useQuerystring, + json: true, + body: ObjectSerializer.serialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest") + }; + + let authenticationPromise = Promise.resolve(); + if (this.authentications.BearerToken.apiKey) { + authenticationPromise = authenticationPromise.then(() => this.authentications.BearerToken.applyToRequest(localVarRequestOptions)); + } + authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions)); + + let interceptorPromise = authenticationPromise; + for (const interceptor of this.interceptors) { + interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions)); + } + + return interceptorPromise.then(() => { + if (Object.keys(localVarFormParams).length) { + if (localVarUseFormData) { + (localVarRequestOptions).formData = localVarFormParams; + } else { + localVarRequestOptions.form = localVarFormParams; + } + } + return new Promise<{ response: http.IncomingMessage; body: IoArgoprojWorkflowV1alpha1WorkflowTemplate; }>((resolve, reject) => { + localVarRequest(localVarRequestOptions, (error, response, body) => { + if (error) { + reject(error); + } else { + if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) { + body = ObjectSerializer.deserialize(body, "IoArgoprojWorkflowV1alpha1WorkflowTemplate"); + resolve({ response: response, body: body }); + } else { + reject(new HttpError(response, body, response.statusCode)); + } + } + }); + }); + }); + } +} diff --git a/plugins/argo-workflows/src/api/generated/git_push.sh b/plugins/argo-workflows/src/api/generated/git_push.sh new file mode 100644 index 0000000..f53a75d --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/git_push.sh @@ -0,0 +1,57 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 +git_host=$4 + +if [ "$git_host" = "" ]; then + git_host="github.com" + echo "[INFO] No command line input provided. Set \$git_host to $git_host" +fi + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=$(git remote) +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/plugins/argo-workflows/src/api/generated/index.ts b/plugins/argo-workflows/src/api/generated/index.ts deleted file mode 100644 index 760c75b..0000000 --- a/plugins/argo-workflows/src/api/generated/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./models/all"; diff --git a/plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts b/plugins/argo-workflows/src/api/generated/model/eventsourceCreateEventSourceRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts rename to plugins/argo-workflows/src/api/generated/model/eventsourceCreateEventSourceRequest.ts index 221120c..504f2d2 100644 --- a/plugins/argo-workflows/src/api/generated/models/EventsourceCreateEventSourceRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/eventsourceCreateEventSourceRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSource } from './ioArgoprojEventsV1alpha1EventSource'; export class EventsourceCreateEventSourceRequest { 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventSource", "baseName": "eventSource", - "type": "IoArgoprojEventsV1alpha1EventSource", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSource" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return EventsourceCreateEventSourceRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/EventsourceEventSourceWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/eventsourceEventSourceWatchEvent.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/EventsourceEventSourceWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/eventsourceEventSourceWatchEvent.ts index e19e495..786c837 100644 --- a/plugins/argo-workflows/src/api/generated/models/EventsourceEventSourceWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/eventsourceEventSourceWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSource } from './ioArgoprojEventsV1alpha1EventSource'; export class EventsourceEventSourceWatchEvent { 'object'?: IoArgoprojEventsV1alpha1EventSource; 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "object", "baseName": "object", - "type": "IoArgoprojEventsV1alpha1EventSource", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSource" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return EventsourceEventSourceWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/EventsourceLogEntry.ts b/plugins/argo-workflows/src/api/generated/model/eventsourceLogEntry.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/EventsourceLogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/eventsourceLogEntry.ts index 1d372a8..6ceda43 100644 --- a/plugins/argo-workflows/src/api/generated/models/EventsourceLogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/eventsourceLogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class EventsourceLogEntry { 'eventName'?: string; @@ -24,57 +25,47 @@ export class EventsourceLogEntry { */ 'time'?: Date; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventName", "baseName": "eventName", - "type": "string", - "format": "" + "type": "string" }, { "name": "eventSourceName", "baseName": "eventSourceName", - "type": "string", - "format": "" + "type": "string" }, { "name": "eventSourceType", "baseName": "eventSourceType", - "type": "string", - "format": "" + "type": "string" }, { "name": "level", "baseName": "level", - "type": "string", - "format": "" + "type": "string" }, { "name": "msg", "baseName": "msg", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "time", "baseName": "time", - "type": "Date", - "format": "date-time" + "type": "Date" } ]; static getAttributeTypeMap() { return EventsourceLogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/EventsourceUpdateEventSourceRequest.ts b/plugins/argo-workflows/src/api/generated/model/eventsourceUpdateEventSourceRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/EventsourceUpdateEventSourceRequest.ts rename to plugins/argo-workflows/src/api/generated/model/eventsourceUpdateEventSourceRequest.ts index b23fd31..f092d28 100644 --- a/plugins/argo-workflows/src/api/generated/models/EventsourceUpdateEventSourceRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/eventsourceUpdateEventSourceRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSource } from './ioArgoprojEventsV1alpha1EventSource'; export class EventsourceUpdateEventSourceRequest { 'eventSource'?: IoArgoprojEventsV1alpha1EventSource; 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventSource", "baseName": "eventSource", - "type": "IoArgoprojEventsV1alpha1EventSource", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSource" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return EventsourceUpdateEventSourceRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/GoogleProtobufAny.ts b/plugins/argo-workflows/src/api/generated/model/googleProtobufAny.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/GoogleProtobufAny.ts rename to plugins/argo-workflows/src/api/generated/model/googleProtobufAny.ts index d083809..e462073 100644 --- a/plugins/argo-workflows/src/api/generated/models/GoogleProtobufAny.ts +++ b/plugins/argo-workflows/src/api/generated/model/googleProtobufAny.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class GoogleProtobufAny { 'typeUrl'?: string; 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "typeUrl", "baseName": "type_url", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "byte" + "type": "string" } ]; static getAttributeTypeMap() { return GoogleProtobufAny.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeError.ts b/plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeError.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeError.ts rename to plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeError.ts index ddb189a..68c38b0 100644 --- a/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeError.ts +++ b/plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeError.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GoogleProtobufAny } from './googleProtobufAny'; export class GrpcGatewayRuntimeError { 'code'?: number; @@ -19,39 +20,32 @@ export class GrpcGatewayRuntimeError { 'error'?: string; 'message'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "code", "baseName": "code", - "type": "number", - "format": "" + "type": "number" }, { "name": "details", "baseName": "details", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "error", "baseName": "error", - "type": "string", - "format": "" + "type": "string" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return GrpcGatewayRuntimeError.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeStreamError.ts b/plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeStreamError.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeStreamError.ts rename to plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeStreamError.ts index a97e332..2db1d57 100644 --- a/plugins/argo-workflows/src/api/generated/models/GrpcGatewayRuntimeStreamError.ts +++ b/plugins/argo-workflows/src/api/generated/model/grpcGatewayRuntimeStreamError.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { GoogleProtobufAny } from '../models/GoogleProtobufAny'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GoogleProtobufAny } from './googleProtobufAny'; export class GrpcGatewayRuntimeStreamError { 'details'?: Array; @@ -20,45 +21,37 @@ export class GrpcGatewayRuntimeStreamError { 'httpStatus'?: string; 'message'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "details", "baseName": "details", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "grpcCode", "baseName": "grpc_code", - "type": "number", - "format": "" + "type": "number" }, { "name": "httpCode", "baseName": "http_code", - "type": "number", - "format": "" + "type": "number" }, { "name": "httpStatus", "baseName": "http_status", - "type": "string", - "format": "" + "type": "string" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return GrpcGatewayRuntimeStreamError.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPConsumeConfig.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPConsumeConfig.ts index e88f9d7..4254d70 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPConsumeConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPConsumeConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1AMQPConsumeConfig { 'autoAck'?: boolean; @@ -19,45 +20,37 @@ export class IoArgoprojEventsV1alpha1AMQPConsumeConfig { 'noLocal'?: boolean; 'noWait'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "autoAck", "baseName": "autoAck", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "consumerTag", "baseName": "consumerTag", - "type": "string", - "format": "" + "type": "string" }, { "name": "exclusive", "baseName": "exclusive", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "noLocal", "baseName": "noLocal", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "noWait", "baseName": "noWait", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AMQPConsumeConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPEventSource.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPEventSource.ts index c2613ed..cc4f56f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig'; -import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; -import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig'; -import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from './ioArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from './ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from './ioArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from './ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from './ioArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1AMQPEventSource { 'auth'?: IoArgoprojEventsV1alpha1BasicAuth; @@ -38,105 +39,87 @@ export class IoArgoprojEventsV1alpha1AMQPEventSource { 'url'?: string; 'urlSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "auth", "baseName": "auth", - "type": "IoArgoprojEventsV1alpha1BasicAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1BasicAuth" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "consume", "baseName": "consume", - "type": "IoArgoprojEventsV1alpha1AMQPConsumeConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1AMQPConsumeConfig" }, { "name": "exchangeDeclare", "baseName": "exchangeDeclare", - "type": "IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig" }, { "name": "exchangeName", "baseName": "exchangeName", - "type": "string", - "format": "" + "type": "string" }, { "name": "exchangeType", "baseName": "exchangeType", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "queueBind", "baseName": "queueBind", - "type": "IoArgoprojEventsV1alpha1AMQPQueueBindConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1AMQPQueueBindConfig" }, { "name": "queueDeclare", "baseName": "queueDeclare", - "type": "IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig" }, { "name": "routingKey", "baseName": "routingKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" }, { "name": "urlSecret", "baseName": "urlSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AMQPEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts index eb145cd..e20f2ba 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig { 'autoDelete'?: boolean; @@ -18,39 +19,32 @@ export class IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig { 'internal'?: boolean; 'noWait'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "autoDelete", "baseName": "autoDelete", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "durable", "baseName": "durable", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "internal", "baseName": "internal", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "noWait", "baseName": "noWait", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueBindConfig.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueBindConfig.ts index dcca6fe..7d89bd0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueBindConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1AMQPQueueBindConfig { 'noWait'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "noWait", "baseName": "noWait", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AMQPQueueBindConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts index 6455681..c8bb493 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig { 'arguments'?: string; @@ -20,51 +21,42 @@ export class IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig { 'name'?: string; 'noWait'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "arguments", "baseName": "arguments", - "type": "string", - "format": "" + "type": "string" }, { "name": "autoDelete", "baseName": "autoDelete", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "durable", "baseName": "durable", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "exclusive", "baseName": "exclusive", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "noWait", "baseName": "noWait", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AWSLambdaTrigger.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AWSLambdaTrigger.ts index b2c8dab..a666abc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AWSLambdaTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AWSLambdaTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1AWSLambdaTrigger { 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; @@ -33,63 +34,52 @@ export class IoArgoprojEventsV1alpha1AWSLambdaTrigger { 'roleARN'?: string; 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKey", "baseName": "accessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "functionName", "baseName": "functionName", - "type": "string", - "format": "" + "type": "string" }, { "name": "invocationType", "baseName": "invocationType", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "roleARN", "baseName": "roleARN", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKey", "baseName": "secretKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AWSLambdaTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Amount.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Amount.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Amount.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Amount.ts index ffda3a2..bf98086 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Amount.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Amount.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Amount represent a numeric amount. @@ -18,21 +19,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojEventsV1alpha1Amount { 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "value", "baseName": "value", - "type": "string", - "format": "byte" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Amount.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts index ba6f337..787c02b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArgoWorkflowTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from './ioArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; export class IoArgoprojEventsV1alpha1ArgoWorkflowTrigger { 'args'?: Array; @@ -20,39 +21,32 @@ export class IoArgoprojEventsV1alpha1ArgoWorkflowTrigger { 'parameters'?: Array; 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "args", "baseName": "args", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "source", "baseName": "source", - "type": "IoArgoprojEventsV1alpha1ArtifactLocation", - "format": "" + "type": "IoArgoprojEventsV1alpha1ArtifactLocation" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ArgoWorkflowTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArtifactLocation.ts similarity index 50% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArtifactLocation.ts index 38232d1..07f72d9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ArtifactLocation.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ArtifactLocation.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +11,13 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1FileArtifact } from '../models/IoArgoprojEventsV1alpha1FileArtifact'; -import { IoArgoprojEventsV1alpha1GitArtifact } from '../models/IoArgoprojEventsV1alpha1GitArtifact'; -import { IoArgoprojEventsV1alpha1Resource } from '../models/IoArgoprojEventsV1alpha1Resource'; -import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; -import { IoArgoprojEventsV1alpha1URLArtifact } from '../models/IoArgoprojEventsV1alpha1URLArtifact'; -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1FileArtifact } from './ioArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1GitArtifact } from './ioArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1Resource } from './ioArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1S3Artifact } from './ioArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1URLArtifact } from './ioArgoprojEventsV1alpha1URLArtifact'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; export class IoArgoprojEventsV1alpha1ArtifactLocation { 'configmap'?: IoK8sApiCoreV1ConfigMapKeySelector; @@ -27,57 +28,47 @@ export class IoArgoprojEventsV1alpha1ArtifactLocation { 's3'?: IoArgoprojEventsV1alpha1S3Artifact; 'url'?: IoArgoprojEventsV1alpha1URLArtifact; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configmap", "baseName": "configmap", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "file", "baseName": "file", - "type": "IoArgoprojEventsV1alpha1FileArtifact", - "format": "" + "type": "IoArgoprojEventsV1alpha1FileArtifact" }, { "name": "git", "baseName": "git", - "type": "IoArgoprojEventsV1alpha1GitArtifact", - "format": "" + "type": "IoArgoprojEventsV1alpha1GitArtifact" }, { "name": "inline", "baseName": "inline", - "type": "string", - "format": "" + "type": "string" }, { "name": "resource", "baseName": "resource", - "type": "IoArgoprojEventsV1alpha1Resource", - "format": "" + "type": "IoArgoprojEventsV1alpha1Resource" }, { "name": "s3", "baseName": "s3", - "type": "IoArgoprojEventsV1alpha1S3Artifact", - "format": "" + "type": "IoArgoprojEventsV1alpha1S3Artifact" }, { "name": "url", "baseName": "url", - "type": "IoArgoprojEventsV1alpha1URLArtifact", - "format": "" + "type": "IoArgoprojEventsV1alpha1URLArtifact" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ArtifactLocation.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventHubsTrigger.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventHubsTrigger.ts index f0307fa..f0c11ec 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventHubsTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1AzureEventHubsTrigger { 'fqdn'?: string; @@ -25,51 +26,42 @@ export class IoArgoprojEventsV1alpha1AzureEventHubsTrigger { 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fqdn", "baseName": "fqdn", - "type": "string", - "format": "" + "type": "string" }, { "name": "hubName", "baseName": "hubName", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "sharedAccessKey", "baseName": "sharedAccessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "sharedAccessKeyName", "baseName": "sharedAccessKeyName", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AzureEventHubsTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventsHubEventSource.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventsHubEventSource.ts index a27e330..cb2116b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1AzureEventsHubEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1AzureEventsHubEventSource { 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; @@ -22,51 +23,42 @@ export class IoArgoprojEventsV1alpha1AzureEventsHubEventSource { 'sharedAccessKey'?: IoK8sApiCoreV1SecretKeySelector; 'sharedAccessKeyName'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "fqdn", "baseName": "fqdn", - "type": "string", - "format": "" + "type": "string" }, { "name": "hubName", "baseName": "hubName", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "sharedAccessKey", "baseName": "sharedAccessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "sharedAccessKeyName", "baseName": "sharedAccessKeyName", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1AzureEventsHubEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Backoff.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Backoff.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Backoff.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Backoff.ts index 8ed334c..6612ae0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Backoff.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Backoff.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Amount } from '../models/IoArgoprojEventsV1alpha1Amount'; -import { IoArgoprojEventsV1alpha1Int64OrString } from '../models/IoArgoprojEventsV1alpha1Int64OrString'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Amount } from './ioArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1Int64OrString } from './ioArgoprojEventsV1alpha1Int64OrString'; export class IoArgoprojEventsV1alpha1Backoff { 'duration'?: IoArgoprojEventsV1alpha1Int64OrString; @@ -20,39 +21,32 @@ export class IoArgoprojEventsV1alpha1Backoff { 'jitter'?: IoArgoprojEventsV1alpha1Amount; 'steps'?: number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "duration", "baseName": "duration", - "type": "IoArgoprojEventsV1alpha1Int64OrString", - "format": "" + "type": "IoArgoprojEventsV1alpha1Int64OrString" }, { "name": "factor", "baseName": "factor", - "type": "IoArgoprojEventsV1alpha1Amount", - "format": "" + "type": "IoArgoprojEventsV1alpha1Amount" }, { "name": "jitter", "baseName": "jitter", - "type": "IoArgoprojEventsV1alpha1Amount", - "format": "" + "type": "IoArgoprojEventsV1alpha1Amount" }, { "name": "steps", "baseName": "steps", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Backoff.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BasicAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BasicAuth.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BasicAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BasicAuth.ts index 9cde938..577d5db 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BasicAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BasicAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1BasicAuth { 'password'?: IoK8sApiCoreV1SecretKeySelector; 'username'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "username", "baseName": "username", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BasicAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketAuth.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketAuth.ts index 0f9c11e..149fdc6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from './ioArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1BitbucketAuth { 'basic'?: IoArgoprojEventsV1alpha1BitbucketBasicAuth; 'oauthToken'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "basic", "baseName": "basic", - "type": "IoArgoprojEventsV1alpha1BitbucketBasicAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1BitbucketBasicAuth" }, { "name": "oauthToken", "baseName": "oauthToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketBasicAuth.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketBasicAuth.ts index ec1fd72..4130146 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketBasicAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketBasicAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1BitbucketBasicAuth { 'password'?: IoK8sApiCoreV1SecretKeySelector; 'username'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "username", "baseName": "username", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketBasicAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketEventSource.ts index 8d15f11..e0aadb1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1BitbucketAuth } from '../models/IoArgoprojEventsV1alpha1BitbucketAuth'; -import { IoArgoprojEventsV1alpha1BitbucketRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketRepository'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from './ioArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from './ioArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; export class IoArgoprojEventsV1alpha1BitbucketEventSource { 'auth'?: IoArgoprojEventsV1alpha1BitbucketAuth; @@ -31,75 +32,62 @@ export class IoArgoprojEventsV1alpha1BitbucketEventSource { 'repositorySlug'?: string; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "auth", "baseName": "auth", - "type": "IoArgoprojEventsV1alpha1BitbucketAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1BitbucketAuth" }, { "name": "deleteHookOnFinish", "baseName": "deleteHookOnFinish", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "owner", "baseName": "owner", - "type": "string", - "format": "" + "type": "string" }, { "name": "projectKey", "baseName": "projectKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "repositories", "baseName": "repositories", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "repositorySlug", "baseName": "repositorySlug", - "type": "string", - "format": "" + "type": "string" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketRepository.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketRepository.ts index c2a7e72..6dfee78 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1BitbucketRepository { 'owner'?: string; 'repositorySlug'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "owner", "baseName": "owner", - "type": "string", - "format": "" + "type": "string" }, { "name": "repositorySlug", "baseName": "repositorySlug", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerEventSource.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerEventSource.ts index 7303a02..56ee727 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from './ioArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1BitbucketServerEventSource { 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; @@ -29,81 +30,67 @@ export class IoArgoprojEventsV1alpha1BitbucketServerEventSource { 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessToken", "baseName": "accessToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bitbucketserverBaseURL", "baseName": "bitbucketserverBaseURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "deleteHookOnFinish", "baseName": "deleteHookOnFinish", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "projectKey", "baseName": "projectKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "repositories", "baseName": "repositories", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "repositorySlug", "baseName": "repositorySlug", - "type": "string", - "format": "" + "type": "string" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" }, { "name": "webhookSecret", "baseName": "webhookSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketServerEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerRepository.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerRepository.ts index 9e0ad23..9a5a8ed 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1BitbucketServerRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1BitbucketServerRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1BitbucketServerRepository { 'projectKey'?: string; 'repositorySlug'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "projectKey", "baseName": "projectKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "repositorySlug", "baseName": "repositorySlug", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1BitbucketServerRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CalendarEventSource.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CalendarEventSource.ts index f9ffc60..452bef6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CalendarEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CalendarEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventPersistence } from '../models/IoArgoprojEventsV1alpha1EventPersistence'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventPersistence } from './ioArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; export class IoArgoprojEventsV1alpha1CalendarEventSource { /** @@ -26,57 +27,47 @@ export class IoArgoprojEventsV1alpha1CalendarEventSource { 'schedule'?: string; 'timezone'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "exclusionDates", "baseName": "exclusionDates", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "interval", "baseName": "interval", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "persistence", "baseName": "persistence", - "type": "IoArgoprojEventsV1alpha1EventPersistence", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventPersistence" }, { "name": "schedule", "baseName": "schedule", - "type": "string", - "format": "" + "type": "string" }, { "name": "timezone", "baseName": "timezone", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1CalendarEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CatchupConfiguration.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CatchupConfiguration.ts index 26bb133..b16590d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CatchupConfiguration.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CatchupConfiguration.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1CatchupConfiguration { 'enabled'?: boolean; 'maxDuration'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "enabled", "baseName": "enabled", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "maxDuration", "baseName": "maxDuration", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1CatchupConfiguration.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Condition.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Condition.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Condition.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Condition.ts index eff2050..034eb36 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Condition.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Condition.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1Condition { /** @@ -22,45 +23,37 @@ export class IoArgoprojEventsV1alpha1Condition { 'status'?: string; 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "lastTransitionTime", "baseName": "lastTransitionTime", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "reason", "baseName": "reason", - "type": "string", - "format": "" + "type": "string" }, { "name": "status", "baseName": "status", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Condition.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetByTime.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetByTime.ts index 60556b7..6c4f011 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetByTime.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetByTime.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1ConditionsResetByTime { 'cron'?: string; 'timezone'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cron", "baseName": "cron", - "type": "string", - "format": "" + "type": "string" }, { "name": "timezone", "baseName": "timezone", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ConditionsResetByTime.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetCriteria.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetCriteria.ts index df2b69e..1dda896 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConditionsResetCriteria.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConditionsResetCriteria.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from './ioArgoprojEventsV1alpha1ConditionsResetByTime'; export class IoArgoprojEventsV1alpha1ConditionsResetCriteria { 'byTime'?: IoArgoprojEventsV1alpha1ConditionsResetByTime; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "byTime", "baseName": "byTime", - "type": "IoArgoprojEventsV1alpha1ConditionsResetByTime", - "format": "" + "type": "IoArgoprojEventsV1alpha1ConditionsResetByTime" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ConditionsResetCriteria.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConfigMapPersistence.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConfigMapPersistence.ts index ebae96b..af51446 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ConfigMapPersistence.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ConfigMapPersistence.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1ConfigMapPersistence { 'createIfNotExist'?: boolean; 'name'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createIfNotExist", "baseName": "createIfNotExist", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ConfigMapPersistence.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CustomTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CustomTrigger.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CustomTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CustomTrigger.ts index 6528d6c..53792f2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1CustomTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1CustomTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * CustomTrigger refers to the specification of the custom trigger. @@ -38,57 +39,47 @@ export class IoArgoprojEventsV1alpha1CustomTrigger { */ 'spec'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "certSecret", "baseName": "certSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "secure", "baseName": "secure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "serverNameOverride", "baseName": "serverNameOverride", - "type": "string", - "format": "" + "type": "string" }, { "name": "serverURL", "baseName": "serverURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "spec", "baseName": "spec", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1CustomTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1DataFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1DataFilter.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1DataFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1DataFilter.ts index 79b5dfb..f18fea7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1DataFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1DataFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1DataFilter { /** @@ -25,45 +26,37 @@ export class IoArgoprojEventsV1alpha1DataFilter { 'type'?: string; 'value'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "comparator", "baseName": "comparator", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1DataFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EmitterEventSource.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EmitterEventSource.ts index 378757d..18f9002 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EmitterEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EmitterEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1EmitterEventSource { /** @@ -31,75 +32,62 @@ export class IoArgoprojEventsV1alpha1EmitterEventSource { 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; 'username'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "broker", "baseName": "broker", - "type": "string", - "format": "" + "type": "string" }, { "name": "channelKey", "baseName": "channelKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "channelName", "baseName": "channelName", - "type": "string", - "format": "" + "type": "string" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "username", "baseName": "username", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EmitterEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventContext.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventContext.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventContext.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventContext.ts index ee07d2d..39f87be 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventContext.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventContext.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1EventContext { /** @@ -39,57 +40,47 @@ export class IoArgoprojEventsV1alpha1EventContext { */ 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "datacontenttype", "baseName": "datacontenttype", - "type": "string", - "format": "" + "type": "string" }, { "name": "id", "baseName": "id", - "type": "string", - "format": "" + "type": "string" }, { "name": "source", "baseName": "source", - "type": "string", - "format": "" + "type": "string" }, { "name": "specversion", "baseName": "specversion", - "type": "string", - "format": "" + "type": "string" }, { "name": "subject", "baseName": "subject", - "type": "string", - "format": "" + "type": "string" }, { "name": "time", "baseName": "time", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventContext.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependency.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependency.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependency.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependency.ts index 35d9fed..26db62a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependency.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependency.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventDependencyFilter } from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter'; -import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from './ioArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from './ioArgoprojEventsV1alpha1EventDependencyTransformer'; export class IoArgoprojEventsV1alpha1EventDependency { 'eventName'?: string; @@ -25,51 +26,42 @@ export class IoArgoprojEventsV1alpha1EventDependency { 'name'?: string; 'transform'?: IoArgoprojEventsV1alpha1EventDependencyTransformer; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventName", "baseName": "eventName", - "type": "string", - "format": "" + "type": "string" }, { "name": "eventSourceName", "baseName": "eventSourceName", - "type": "string", - "format": "" + "type": "string" }, { "name": "filters", "baseName": "filters", - "type": "IoArgoprojEventsV1alpha1EventDependencyFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventDependencyFilter" }, { "name": "filtersLogicalOperator", "baseName": "filtersLogicalOperator", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "transform", "baseName": "transform", - "type": "IoArgoprojEventsV1alpha1EventDependencyTransformer", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventDependencyTransformer" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventDependency.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyFilter.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyFilter.ts index 1e86648..26f4a9c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1DataFilter } from '../models/IoArgoprojEventsV1alpha1DataFilter'; -import { IoArgoprojEventsV1alpha1EventContext } from '../models/IoArgoprojEventsV1alpha1EventContext'; -import { IoArgoprojEventsV1alpha1ExprFilter } from '../models/IoArgoprojEventsV1alpha1ExprFilter'; -import { IoArgoprojEventsV1alpha1TimeFilter } from '../models/IoArgoprojEventsV1alpha1TimeFilter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1DataFilter } from './ioArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EventContext } from './ioArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1ExprFilter } from './ioArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1TimeFilter } from './ioArgoprojEventsV1alpha1TimeFilter'; /** * EventDependencyFilter defines filters and constraints for a io.argoproj.workflow.v1alpha1. @@ -40,57 +41,47 @@ export class IoArgoprojEventsV1alpha1EventDependencyFilter { 'script'?: string; 'time'?: IoArgoprojEventsV1alpha1TimeFilter; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "context", "baseName": "context", - "type": "IoArgoprojEventsV1alpha1EventContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventContext" }, { "name": "data", "baseName": "data", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "dataLogicalOperator", "baseName": "dataLogicalOperator", - "type": "string", - "format": "" + "type": "string" }, { "name": "exprLogicalOperator", "baseName": "exprLogicalOperator", - "type": "string", - "format": "" + "type": "string" }, { "name": "exprs", "baseName": "exprs", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "script", "baseName": "script", - "type": "string", - "format": "" + "type": "string" }, { "name": "time", "baseName": "time", - "type": "IoArgoprojEventsV1alpha1TimeFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1TimeFilter" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventDependencyFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyTransformer.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyTransformer.ts index 647cb54..7704c34 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventDependencyTransformer.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventDependencyTransformer.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1EventDependencyTransformer { 'jq'?: string; 'script'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "jq", "baseName": "jq", - "type": "string", - "format": "" + "type": "string" }, { "name": "script", "baseName": "script", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventDependencyTransformer.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventPersistence.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventPersistence.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventPersistence.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventPersistence.ts index 86a671b..a682caf 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventPersistence.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventPersistence.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1CatchupConfiguration } from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration'; -import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from './ioArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from './ioArgoprojEventsV1alpha1ConfigMapPersistence'; export class IoArgoprojEventsV1alpha1EventPersistence { 'catchup'?: IoArgoprojEventsV1alpha1CatchupConfiguration; 'configMap'?: IoArgoprojEventsV1alpha1ConfigMapPersistence; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "catchup", "baseName": "catchup", - "type": "IoArgoprojEventsV1alpha1CatchupConfiguration", - "format": "" + "type": "IoArgoprojEventsV1alpha1CatchupConfiguration" }, { "name": "configMap", "baseName": "configMap", - "type": "IoArgoprojEventsV1alpha1ConfigMapPersistence", - "format": "" + "type": "IoArgoprojEventsV1alpha1ConfigMapPersistence" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventPersistence.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSource.ts similarity index 52% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSource.ts index 8d688d4..3920889 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,43 +11,37 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceSpec } from '../models/IoArgoprojEventsV1alpha1EventSourceSpec'; -import { IoArgoprojEventsV1alpha1EventSourceStatus } from '../models/IoArgoprojEventsV1alpha1EventSourceStatus'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from './ioArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from './ioArgoprojEventsV1alpha1EventSourceStatus'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; export class IoArgoprojEventsV1alpha1EventSource { 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec'?: IoArgoprojEventsV1alpha1EventSourceSpec; 'status'?: IoArgoprojEventsV1alpha1EventSourceStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojEventsV1alpha1EventSourceSpec", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceSpec" }, { "name": "status", "baseName": "status", - "type": "IoArgoprojEventsV1alpha1EventSourceStatus", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceStatus" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceFilter.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceFilter.ts index 945829b..2bc6788 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1EventSourceFilter { 'expression'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventSourceFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceList.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceList.ts index fcaffd9..8f7d22e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSource } from '../models/IoArgoprojEventsV1alpha1EventSource'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSource } from './ioArgoprojEventsV1alpha1EventSource'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; export class IoArgoprojEventsV1alpha1EventSourceList { 'items'?: Array; 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventSourceList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceSpec.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceSpec.ts index c8deb35..c6f9a6e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,36 +11,36 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1AMQPEventSource } from '../models/IoArgoprojEventsV1alpha1AMQPEventSource'; -import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource'; -import { IoArgoprojEventsV1alpha1BitbucketEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource'; -import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource'; -import { IoArgoprojEventsV1alpha1CalendarEventSource } from '../models/IoArgoprojEventsV1alpha1CalendarEventSource'; -import { IoArgoprojEventsV1alpha1EmitterEventSource } from '../models/IoArgoprojEventsV1alpha1EmitterEventSource'; -import { IoArgoprojEventsV1alpha1FileEventSource } from '../models/IoArgoprojEventsV1alpha1FileEventSource'; -import { IoArgoprojEventsV1alpha1GenericEventSource } from '../models/IoArgoprojEventsV1alpha1GenericEventSource'; -import { IoArgoprojEventsV1alpha1GithubEventSource } from '../models/IoArgoprojEventsV1alpha1GithubEventSource'; -import { IoArgoprojEventsV1alpha1GitlabEventSource } from '../models/IoArgoprojEventsV1alpha1GitlabEventSource'; -import { IoArgoprojEventsV1alpha1HDFSEventSource } from '../models/IoArgoprojEventsV1alpha1HDFSEventSource'; -import { IoArgoprojEventsV1alpha1KafkaEventSource } from '../models/IoArgoprojEventsV1alpha1KafkaEventSource'; -import { IoArgoprojEventsV1alpha1MQTTEventSource } from '../models/IoArgoprojEventsV1alpha1MQTTEventSource'; -import { IoArgoprojEventsV1alpha1NATSEventsSource } from '../models/IoArgoprojEventsV1alpha1NATSEventsSource'; -import { IoArgoprojEventsV1alpha1NSQEventSource } from '../models/IoArgoprojEventsV1alpha1NSQEventSource'; -import { IoArgoprojEventsV1alpha1PubSubEventSource } from '../models/IoArgoprojEventsV1alpha1PubSubEventSource'; -import { IoArgoprojEventsV1alpha1PulsarEventSource } from '../models/IoArgoprojEventsV1alpha1PulsarEventSource'; -import { IoArgoprojEventsV1alpha1RedisEventSource } from '../models/IoArgoprojEventsV1alpha1RedisEventSource'; -import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource'; -import { IoArgoprojEventsV1alpha1ResourceEventSource } from '../models/IoArgoprojEventsV1alpha1ResourceEventSource'; -import { IoArgoprojEventsV1alpha1S3Artifact } from '../models/IoArgoprojEventsV1alpha1S3Artifact'; -import { IoArgoprojEventsV1alpha1SNSEventSource } from '../models/IoArgoprojEventsV1alpha1SNSEventSource'; -import { IoArgoprojEventsV1alpha1SQSEventSource } from '../models/IoArgoprojEventsV1alpha1SQSEventSource'; -import { IoArgoprojEventsV1alpha1Service } from '../models/IoArgoprojEventsV1alpha1Service'; -import { IoArgoprojEventsV1alpha1SlackEventSource } from '../models/IoArgoprojEventsV1alpha1SlackEventSource'; -import { IoArgoprojEventsV1alpha1StorageGridEventSource } from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource'; -import { IoArgoprojEventsV1alpha1StripeEventSource } from '../models/IoArgoprojEventsV1alpha1StripeEventSource'; -import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; -import { IoArgoprojEventsV1alpha1WebhookEventSource } from '../models/IoArgoprojEventsV1alpha1WebhookEventSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from './ioArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from './ioArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from './ioArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from './ioArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from './ioArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from './ioArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1FileEventSource } from './ioArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from './ioArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from './ioArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from './ioArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from './ioArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from './ioArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from './ioArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from './ioArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from './ioArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from './ioArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from './ioArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from './ioArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from './ioArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from './ioArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1S3Artifact } from './ioArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from './ioArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from './ioArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1Service } from './ioArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from './ioArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from './ioArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from './ioArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1Template } from './ioArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from './ioArgoprojEventsV1alpha1WebhookEventSource'; export class IoArgoprojEventsV1alpha1EventSourceSpec { 'amqp'?: { [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }; @@ -74,201 +75,167 @@ export class IoArgoprojEventsV1alpha1EventSourceSpec { 'template'?: IoArgoprojEventsV1alpha1Template; 'webhook'?: { [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "amqp", "baseName": "amqp", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AMQPEventSource; }" }, { "name": "azureEventsHub", "baseName": "azureEventsHub", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1AzureEventsHubEventSource; }" }, { "name": "bitbucket", "baseName": "bitbucket", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketEventSource; }" }, { "name": "bitbucketserver", "baseName": "bitbucketserver", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1BitbucketServerEventSource; }" }, { "name": "calendar", "baseName": "calendar", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1CalendarEventSource; }" }, { "name": "emitter", "baseName": "emitter", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1EmitterEventSource; }" }, { "name": "eventBusName", "baseName": "eventBusName", - "type": "string", - "format": "" + "type": "string" }, { "name": "file", "baseName": "file", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1FileEventSource; }" }, { "name": "generic", "baseName": "generic", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GenericEventSource; }" }, { "name": "github", "baseName": "github", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GithubEventSource; }" }, { "name": "gitlab", "baseName": "gitlab", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1GitlabEventSource; }" }, { "name": "hdfs", "baseName": "hdfs", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1HDFSEventSource; }" }, { "name": "kafka", "baseName": "kafka", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1KafkaEventSource; }" }, { "name": "minio", "baseName": "minio", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1S3Artifact; }" }, { "name": "mqtt", "baseName": "mqtt", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1MQTTEventSource; }" }, { "name": "nats", "baseName": "nats", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NATSEventsSource; }" }, { "name": "nsq", "baseName": "nsq", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1NSQEventSource; }" }, { "name": "pubSub", "baseName": "pubSub", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PubSubEventSource; }" }, { "name": "pulsar", "baseName": "pulsar", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1PulsarEventSource; }" }, { "name": "redis", "baseName": "redis", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisEventSource; }" }, { "name": "redisStream", "baseName": "redisStream", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1RedisStreamEventSource; }" }, { "name": "replicas", "baseName": "replicas", - "type": "number", - "format": "" + "type": "number" }, { "name": "resource", "baseName": "resource", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1ResourceEventSource; }" }, { "name": "service", "baseName": "service", - "type": "IoArgoprojEventsV1alpha1Service", - "format": "" + "type": "IoArgoprojEventsV1alpha1Service" }, { "name": "slack", "baseName": "slack", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SlackEventSource; }" }, { "name": "sns", "baseName": "sns", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SNSEventSource; }" }, { "name": "sqs", "baseName": "sqs", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1SQSEventSource; }" }, { "name": "storageGrid", "baseName": "storageGrid", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StorageGridEventSource; }" }, { "name": "stripe", "baseName": "stripe", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1StripeEventSource; }" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojEventsV1alpha1Template", - "format": "" + "type": "IoArgoprojEventsV1alpha1Template" }, { "name": "webhook", "baseName": "webhook", - "type": "{ [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }", - "format": "" + "type": "{ [key: string]: IoArgoprojEventsV1alpha1WebhookEventSource; }" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventSourceSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceStatus.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceStatus.ts index 730e5e2..b74e7b9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1EventSourceStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1EventSourceStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Status } from './ioArgoprojEventsV1alpha1Status'; export class IoArgoprojEventsV1alpha1EventSourceStatus { 'status'?: IoArgoprojEventsV1alpha1Status; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "status", "baseName": "status", - "type": "IoArgoprojEventsV1alpha1Status", - "format": "" + "type": "IoArgoprojEventsV1alpha1Status" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1EventSourceStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ExprFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ExprFilter.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ExprFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ExprFilter.ts index 15a58c6..aeb6eef 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ExprFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ExprFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1PayloadField } from '../models/IoArgoprojEventsV1alpha1PayloadField'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1PayloadField } from './ioArgoprojEventsV1alpha1PayloadField'; export class IoArgoprojEventsV1alpha1ExprFilter { /** @@ -23,27 +24,22 @@ export class IoArgoprojEventsV1alpha1ExprFilter { */ 'fields'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "expr", "baseName": "expr", - "type": "string", - "format": "" + "type": "string" }, { "name": "fields", "baseName": "fields", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ExprFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileArtifact.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileArtifact.ts index c2c3670..c2fcecf 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1FileArtifact { 'path'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1FileArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileEventSource.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileEventSource.ts index 340ac56..14e0065 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1FileEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1FileEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from './ioArgoprojEventsV1alpha1WatchPathConfig'; /** * FileEventSource describes an event-source for file related events. @@ -24,45 +25,37 @@ export class IoArgoprojEventsV1alpha1FileEventSource { 'polling'?: boolean; 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventType", "baseName": "eventType", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "polling", "baseName": "polling", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "watchPathConfig", "baseName": "watchPathConfig", - "type": "IoArgoprojEventsV1alpha1WatchPathConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1WatchPathConfig" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1FileEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GenericEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GenericEventSource.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GenericEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GenericEventSource.ts index d8cf36e..f390a49 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GenericEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GenericEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * GenericEventSource refers to a generic event source. It can be used to implement a custom event source. @@ -32,57 +33,47 @@ export class IoArgoprojEventsV1alpha1GenericEventSource { */ 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "authSecret", "baseName": "authSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "config", "baseName": "config", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "insecure", "baseName": "insecure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GenericEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitArtifact.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitArtifact.ts index 8b5495a..63fd6e8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1GitCreds } from '../models/IoArgoprojEventsV1alpha1GitCreds'; -import { IoArgoprojEventsV1alpha1GitRemoteConfig } from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1GitCreds } from './ioArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from './ioArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1GitArtifact { 'branch'?: string; @@ -30,75 +31,62 @@ export class IoArgoprojEventsV1alpha1GitArtifact { 'tag'?: string; 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "branch", "baseName": "branch", - "type": "string", - "format": "" + "type": "string" }, { "name": "cloneDirectory", "baseName": "cloneDirectory", - "type": "string", - "format": "" + "type": "string" }, { "name": "creds", "baseName": "creds", - "type": "IoArgoprojEventsV1alpha1GitCreds", - "format": "" + "type": "IoArgoprojEventsV1alpha1GitCreds" }, { "name": "filePath", "baseName": "filePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "insecureIgnoreHostKey", "baseName": "insecureIgnoreHostKey", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "ref", "baseName": "ref", - "type": "string", - "format": "" + "type": "string" }, { "name": "remote", "baseName": "remote", - "type": "IoArgoprojEventsV1alpha1GitRemoteConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1GitRemoteConfig" }, { "name": "sshKeySecret", "baseName": "sshKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "tag", "baseName": "tag", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GitArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitCreds.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitCreds.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitCreds.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitCreds.ts index 19260f4..4352f54 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitCreds.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitCreds.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1GitCreds { 'password'?: IoK8sApiCoreV1SecretKeySelector; 'username'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "username", "baseName": "username", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GitCreds.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitRemoteConfig.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitRemoteConfig.ts index f4f47ee..f18dd11 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitRemoteConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitRemoteConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1GitRemoteConfig { /** @@ -22,27 +23,22 @@ export class IoArgoprojEventsV1alpha1GitRemoteConfig { */ 'urls'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "urls", "baseName": "urls", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GitRemoteConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubAppCreds.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubAppCreds.ts index e276196..8cea156 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubAppCreds.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubAppCreds.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1GithubAppCreds { 'appID'?: string; 'installationID'?: string; 'privateKey'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "appID", "baseName": "appID", - "type": "string", - "format": "" + "type": "string" }, { "name": "installationID", "baseName": "installationID", - "type": "string", - "format": "" + "type": "string" }, { "name": "privateKey", "baseName": "privateKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GithubAppCreds.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubEventSource.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubEventSource.ts index 0c7ae02..8ca39fe 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GithubEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GithubEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +11,12 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1GithubAppCreds } from '../models/IoArgoprojEventsV1alpha1GithubAppCreds'; -import { IoArgoprojEventsV1alpha1OwnedRepositories } from '../models/IoArgoprojEventsV1alpha1OwnedRepositories'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from './ioArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from './ioArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1GithubEventSource { 'active'?: boolean; @@ -43,123 +44,102 @@ export class IoArgoprojEventsV1alpha1GithubEventSource { 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; 'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "active", "baseName": "active", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "apiToken", "baseName": "apiToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "contentType", "baseName": "contentType", - "type": "string", - "format": "" + "type": "string" }, { "name": "deleteHookOnFinish", "baseName": "deleteHookOnFinish", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "githubApp", "baseName": "githubApp", - "type": "IoArgoprojEventsV1alpha1GithubAppCreds", - "format": "" + "type": "IoArgoprojEventsV1alpha1GithubAppCreds" }, { "name": "githubBaseURL", "baseName": "githubBaseURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "githubUploadURL", "baseName": "githubUploadURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "id", "baseName": "id", - "type": "string", - "format": "" + "type": "string" }, { "name": "insecure", "baseName": "insecure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "organizations", "baseName": "organizations", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "owner", "baseName": "owner", - "type": "string", - "format": "" + "type": "string" }, { "name": "repositories", "baseName": "repositories", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "repository", "baseName": "repository", - "type": "string", - "format": "" + "type": "string" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" }, { "name": "webhookSecret", "baseName": "webhookSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GithubEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitlabEventSource.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitlabEventSource.ts index db88eb1..975ba86 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1GitlabEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1GitlabEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1GitlabEventSource { 'accessToken'?: IoK8sApiCoreV1SecretKeySelector; @@ -31,81 +32,67 @@ export class IoArgoprojEventsV1alpha1GitlabEventSource { 'secretToken'?: IoK8sApiCoreV1SecretKeySelector; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessToken", "baseName": "accessToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "deleteHookOnFinish", "baseName": "deleteHookOnFinish", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "enableSSLVerification", "baseName": "enableSSLVerification", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "gitlabBaseURL", "baseName": "gitlabBaseURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "projectID", "baseName": "projectID", - "type": "string", - "format": "" + "type": "string" }, { "name": "projects", "baseName": "projects", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "secretToken", "baseName": "secretToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1GitlabEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HDFSEventSource.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HDFSEventSource.ts index b670dfa..a4821a9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HDFSEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HDFSEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WatchPathConfig } from '../models/IoArgoprojEventsV1alpha1WatchPathConfig'; -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from './ioArgoprojEventsV1alpha1WatchPathConfig'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1HDFSEventSource { 'addresses'?: Array; @@ -43,93 +44,77 @@ export class IoArgoprojEventsV1alpha1HDFSEventSource { 'type'?: string; 'watchPathConfig'?: IoArgoprojEventsV1alpha1WatchPathConfig; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "addresses", "baseName": "addresses", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "checkInterval", "baseName": "checkInterval", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "hdfsUser", "baseName": "hdfsUser", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbCCacheSecret", "baseName": "krbCCacheSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbConfigConfigMap", "baseName": "krbConfigConfigMap", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "krbKeytabSecret", "baseName": "krbKeytabSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbRealm", "baseName": "krbRealm", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbServicePrincipalName", "baseName": "krbServicePrincipalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbUsername", "baseName": "krbUsername", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" }, { "name": "watchPathConfig", "baseName": "watchPathConfig", - "type": "IoArgoprojEventsV1alpha1WatchPathConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1WatchPathConfig" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1HDFSEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HTTPTrigger.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HTTPTrigger.ts index 6290da9..5fe0f89 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1HTTPTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1HTTPTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; -import { IoArgoprojEventsV1alpha1SecureHeader } from '../models/IoArgoprojEventsV1alpha1SecureHeader'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1BasicAuth } from './ioArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1SecureHeader } from './ioArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; export class IoArgoprojEventsV1alpha1HTTPTrigger { 'basicAuth'?: IoArgoprojEventsV1alpha1BasicAuth; @@ -33,69 +34,57 @@ export class IoArgoprojEventsV1alpha1HTTPTrigger { */ 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "basicAuth", "baseName": "basicAuth", - "type": "IoArgoprojEventsV1alpha1BasicAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1BasicAuth" }, { "name": "headers", "baseName": "headers", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "method", "baseName": "method", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "secureHeaders", "baseName": "secureHeaders", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "timeout", "baseName": "timeout", - "type": "string", - "format": "" + "type": "string" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1HTTPTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Int64OrString.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Int64OrString.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Int64OrString.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Int64OrString.ts index 06a5707..4bd7909 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Int64OrString.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Int64OrString.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,40 +11,34 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1Int64OrString { 'int64Val'?: string; 'strVal'?: string; 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "int64Val", "baseName": "int64Val", - "type": "string", - "format": "" + "type": "string" }, { "name": "strVal", "baseName": "strVal", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Int64OrString.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1K8SResourcePolicy.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1K8SResourcePolicy.ts index 747b99a..67fa627 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1K8SResourcePolicy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1K8SResourcePolicy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; export class IoArgoprojEventsV1alpha1K8SResourcePolicy { 'backoff'?: IoArgoprojEventsV1alpha1Backoff; 'errorOnBackoffTimeout'?: boolean; 'labels'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "backoff", "baseName": "backoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "errorOnBackoffTimeout", "baseName": "errorOnBackoffTimeout", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "labels", "baseName": "labels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1K8SResourcePolicy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaConsumerGroup.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaConsumerGroup.ts index 805961c..0c9f08e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaConsumerGroup.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaConsumerGroup.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,40 +11,34 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1KafkaConsumerGroup { 'groupName'?: string; 'oldest'?: boolean; 'rebalanceStrategy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "groupName", "baseName": "groupName", - "type": "string", - "format": "" + "type": "string" }, { "name": "oldest", "baseName": "oldest", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "rebalanceStrategy", "baseName": "rebalanceStrategy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1KafkaConsumerGroup.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaEventSource.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaEventSource.ts index 2b229e0..156fa05 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +11,12 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup'; -import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from './ioArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1SASLConfig } from './ioArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; export class IoArgoprojEventsV1alpha1KafkaEventSource { /** @@ -35,93 +36,77 @@ export class IoArgoprojEventsV1alpha1KafkaEventSource { 'url'?: string; 'version'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "config", "baseName": "config", - "type": "string", - "format": "" + "type": "string" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "consumerGroup", "baseName": "consumerGroup", - "type": "IoArgoprojEventsV1alpha1KafkaConsumerGroup", - "format": "" + "type": "IoArgoprojEventsV1alpha1KafkaConsumerGroup" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "limitEventsPerSecond", "baseName": "limitEventsPerSecond", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "partition", "baseName": "partition", - "type": "string", - "format": "" + "type": "string" }, { "name": "sasl", "baseName": "sasl", - "type": "IoArgoprojEventsV1alpha1SASLConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1SASLConfig" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" }, { "name": "version", "baseName": "version", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1KafkaEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaTrigger.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaTrigger.ts index 909582a..1d59149 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1KafkaTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1KafkaTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1SASLConfig } from '../models/IoArgoprojEventsV1alpha1SASLConfig'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1SASLConfig } from './ioArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; /** * KafkaTrigger refers to the specification of the Kafka trigger. @@ -50,87 +51,72 @@ export class IoArgoprojEventsV1alpha1KafkaTrigger { 'url'?: string; 'version'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "compress", "baseName": "compress", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "flushFrequency", "baseName": "flushFrequency", - "type": "number", - "format": "" + "type": "number" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "partition", "baseName": "partition", - "type": "number", - "format": "" + "type": "number" }, { "name": "partitioningKey", "baseName": "partitioningKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "requiredAcks", "baseName": "requiredAcks", - "type": "number", - "format": "" + "type": "number" }, { "name": "sasl", "baseName": "sasl", - "type": "IoArgoprojEventsV1alpha1SASLConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1SASLConfig" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" }, { "name": "version", "baseName": "version", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1KafkaTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1LogTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1LogTrigger.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1LogTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1LogTrigger.ts index 487bb57..85f1584 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1LogTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1LogTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1LogTrigger { 'intervalSeconds'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "intervalSeconds", "baseName": "intervalSeconds", - "type": "string", - "format": "uint64" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1LogTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1MQTTEventSource.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1MQTTEventSource.ts index 9637e55..c3255ab 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1MQTTEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1MQTTEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; export class IoArgoprojEventsV1alpha1MQTTEventSource { 'clientId'?: string; @@ -25,63 +26,52 @@ export class IoArgoprojEventsV1alpha1MQTTEventSource { 'topic'?: string; 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clientId", "baseName": "clientId", - "type": "string", - "format": "" + "type": "string" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1MQTTEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Metadata.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Metadata.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Metadata.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Metadata.ts index 2d94329..de88269 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Metadata.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Metadata.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1Metadata { 'annotations'?: { [key: string]: string; }; 'labels'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "annotations", "baseName": "annotations", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "labels", "baseName": "labels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Metadata.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSAuth.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSAuth.ts index d21f7c2..c935a6a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1BasicAuth } from '../models/IoArgoprojEventsV1alpha1BasicAuth'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1BasicAuth } from './ioArgoprojEventsV1alpha1BasicAuth'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1NATSAuth { 'basic'?: IoArgoprojEventsV1alpha1BasicAuth; @@ -20,39 +21,32 @@ export class IoArgoprojEventsV1alpha1NATSAuth { 'nkey'?: IoK8sApiCoreV1SecretKeySelector; 'token'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "basic", "baseName": "basic", - "type": "IoArgoprojEventsV1alpha1BasicAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1BasicAuth" }, { "name": "credential", "baseName": "credential", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "nkey", "baseName": "nkey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "token", "baseName": "token", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1NATSAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSEventsSource.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSEventsSource.ts index 2e6886e..d691f4a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSEventsSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSEventsSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1NATSAuth } from '../models/IoArgoprojEventsV1alpha1NATSAuth'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1NATSAuth } from './ioArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; export class IoArgoprojEventsV1alpha1NATSEventsSource { 'auth'?: IoArgoprojEventsV1alpha1NATSAuth; @@ -26,63 +27,52 @@ export class IoArgoprojEventsV1alpha1NATSEventsSource { 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "auth", "baseName": "auth", - "type": "IoArgoprojEventsV1alpha1NATSAuth", - "format": "" + "type": "IoArgoprojEventsV1alpha1NATSAuth" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "subject", "baseName": "subject", - "type": "string", - "format": "" + "type": "string" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1NATSEventsSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSTrigger.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSTrigger.ts index 3693da8..0e6ca06 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NATSTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NATSTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; /** * NATSTrigger refers to the specification of the NATS trigger. @@ -30,45 +31,37 @@ export class IoArgoprojEventsV1alpha1NATSTrigger { */ 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "subject", "baseName": "subject", - "type": "string", - "format": "" + "type": "string" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1NATSTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NSQEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NSQEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NSQEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NSQEventSource.ts index 468a1cb..263204d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1NSQEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1NSQEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; export class IoArgoprojEventsV1alpha1NSQEventSource { 'channel'?: string; @@ -28,63 +29,52 @@ export class IoArgoprojEventsV1alpha1NSQEventSource { */ 'topic'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "channel", "baseName": "channel", - "type": "string", - "format": "" + "type": "string" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "hostAddress", "baseName": "hostAddress", - "type": "string", - "format": "" + "type": "string" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1NSQEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OpenWhiskTrigger.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OpenWhiskTrigger.ts index cfd026c..dfc726f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OpenWhiskTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OpenWhiskTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * OpenWhiskTrigger refers to the specification of the OpenWhisk trigger. @@ -38,57 +39,47 @@ export class IoArgoprojEventsV1alpha1OpenWhiskTrigger { 'payload'?: Array; 'version'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "actionName", "baseName": "actionName", - "type": "string", - "format": "" + "type": "string" }, { "name": "authToken", "baseName": "authToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "host", "baseName": "host", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "version", "baseName": "version", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1OpenWhiskTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OwnedRepositories.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OwnedRepositories.ts index a51a852..e5245df 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1OwnedRepositories.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1OwnedRepositories.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1OwnedRepositories { 'names'?: Array; 'owner'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "names", "baseName": "names", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "owner", "baseName": "owner", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1OwnedRepositories.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PayloadField.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PayloadField.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PayloadField.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PayloadField.ts index 92f398d..e86eab4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PayloadField.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PayloadField.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * PayloadField binds a value at path within the event payload against a name. @@ -25,27 +26,22 @@ export class IoArgoprojEventsV1alpha1PayloadField { */ 'path'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1PayloadField.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PubSubEventSource.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PubSubEventSource.ts index dbcbc33..bb45414 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PubSubEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PubSubEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * PubSubEventSource refers to event-source for GCP PubSub related events. @@ -28,69 +29,57 @@ export class IoArgoprojEventsV1alpha1PubSubEventSource { 'topic'?: string; 'topicProjectID'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "credentialSecret", "baseName": "credentialSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "deleteSubscriptionOnFinish", "baseName": "deleteSubscriptionOnFinish", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "projectID", "baseName": "projectID", - "type": "string", - "format": "" + "type": "string" }, { "name": "subscriptionID", "baseName": "subscriptionID", - "type": "string", - "format": "" + "type": "string" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" }, { "name": "topicProjectID", "baseName": "topicProjectID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1PubSubEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarEventSource.ts index 224ca30..b4208ad 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1PulsarEventSource { 'authTokenSecret'?: IoK8sApiCoreV1SecretKeySelector; @@ -30,87 +31,72 @@ export class IoArgoprojEventsV1alpha1PulsarEventSource { 'type'?: string; 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "authTokenSecret", "baseName": "authTokenSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "tlsAllowInsecureConnection", "baseName": "tlsAllowInsecureConnection", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "tlsTrustCertsSecret", "baseName": "tlsTrustCertsSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "tlsValidateHostname", "baseName": "tlsValidateHostname", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "topics", "baseName": "topics", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1PulsarEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarTrigger.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarTrigger.ts index 266ba90..0da44da 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1PulsarTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1PulsarTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * PulsarTrigger refers to the specification of the Pulsar trigger. @@ -37,75 +38,62 @@ export class IoArgoprojEventsV1alpha1PulsarTrigger { 'topic'?: string; 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "authTokenSecret", "baseName": "authTokenSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "connectionBackoff", "baseName": "connectionBackoff", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "payload", "baseName": "payload", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "tlsAllowInsecureConnection", "baseName": "tlsAllowInsecureConnection", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "tlsTrustCertsSecret", "baseName": "tlsTrustCertsSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "tlsValidateHostname", "baseName": "tlsValidateHostname", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "topic", "baseName": "topic", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1PulsarTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RateLimit.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RateLimit.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RateLimit.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RateLimit.ts index a52ac56..9241352 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RateLimit.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RateLimit.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1RateLimit { 'requestsPerUnit'?: number; 'unit'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "requestsPerUnit", "baseName": "requestsPerUnit", - "type": "number", - "format": "" + "type": "number" }, { "name": "unit", "baseName": "unit", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1RateLimit.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisEventSource.ts index af04416..0f18125 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1RedisEventSource { 'channels'?: Array; @@ -27,75 +28,62 @@ export class IoArgoprojEventsV1alpha1RedisEventSource { 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; 'username'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "channels", "baseName": "channels", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "db", "baseName": "db", - "type": "number", - "format": "" + "type": "number" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "hostAddress", "baseName": "hostAddress", - "type": "string", - "format": "" + "type": "string" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "username", "baseName": "username", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1RedisEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisStreamEventSource.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisStreamEventSource.ts index 679adf3..f02bbd7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1RedisStreamEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1RedisStreamEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1TLSConfig } from '../models/IoArgoprojEventsV1alpha1TLSConfig'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1RedisStreamEventSource { 'consumerGroup'?: string; @@ -30,75 +31,62 @@ export class IoArgoprojEventsV1alpha1RedisStreamEventSource { 'tls'?: IoArgoprojEventsV1alpha1TLSConfig; 'username'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "consumerGroup", "baseName": "consumerGroup", - "type": "string", - "format": "" + "type": "string" }, { "name": "db", "baseName": "db", - "type": "number", - "format": "" + "type": "number" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "hostAddress", "baseName": "hostAddress", - "type": "string", - "format": "" + "type": "string" }, { "name": "maxMsgCountPerRead", "baseName": "maxMsgCountPerRead", - "type": "number", - "format": "" + "type": "number" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "streams", "baseName": "streams", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "tls", "baseName": "tls", - "type": "IoArgoprojEventsV1alpha1TLSConfig", - "format": "" + "type": "IoArgoprojEventsV1alpha1TLSConfig" }, { "name": "username", "baseName": "username", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1RedisStreamEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Resource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Resource.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Resource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Resource.ts index 9544d0c..e5c0f65 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Resource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Resource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Resource represent arbitrary structured data. @@ -18,21 +19,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojEventsV1alpha1Resource { 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "value", "baseName": "value", - "type": "string", - "format": "byte" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Resource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceEventSource.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceEventSource.ts index 740d83a..540f78c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1ResourceFilter } from '../models/IoArgoprojEventsV1alpha1ResourceFilter'; -import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from './ioArgoprojEventsV1alpha1ResourceFilter'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from './ioK8sApimachineryPkgApisMetaV1GroupVersionResource'; /** * ResourceEventSource refers to a event-source for K8s resource related events. @@ -27,45 +28,37 @@ export class IoArgoprojEventsV1alpha1ResourceEventSource { 'metadata'?: { [key: string]: string; }; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "eventTypes", "baseName": "eventTypes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1ResourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1ResourceFilter" }, { "name": "groupVersionResource", "baseName": "groupVersionResource", - "type": "IoK8sApimachineryPkgApisMetaV1GroupVersionResource", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1GroupVersionResource" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ResourceEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceFilter.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceFilter.ts index df226ed..ab02668 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ResourceFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ResourceFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Selector } from '../models/IoArgoprojEventsV1alpha1Selector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Selector } from './ioArgoprojEventsV1alpha1Selector'; export class IoArgoprojEventsV1alpha1ResourceFilter { 'afterStart'?: boolean; @@ -23,45 +24,37 @@ export class IoArgoprojEventsV1alpha1ResourceFilter { 'labels'?: Array; 'prefix'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "afterStart", "baseName": "afterStart", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "createdBy", "baseName": "createdBy", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "fields", "baseName": "fields", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "labels", "baseName": "labels", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "prefix", "baseName": "prefix", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ResourceFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Artifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Artifact.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Artifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Artifact.ts index e3cdfbc..e774969 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Artifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Artifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1S3Bucket } from '../models/IoArgoprojEventsV1alpha1S3Bucket'; -import { IoArgoprojEventsV1alpha1S3Filter } from '../models/IoArgoprojEventsV1alpha1S3Filter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1S3Bucket } from './ioArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from './ioArgoprojEventsV1alpha1S3Filter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1S3Artifact { 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; @@ -26,69 +27,57 @@ export class IoArgoprojEventsV1alpha1S3Artifact { 'region'?: string; 'secretKey'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKey", "baseName": "accessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "IoArgoprojEventsV1alpha1S3Bucket", - "format": "" + "type": "IoArgoprojEventsV1alpha1S3Bucket" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1S3Filter", - "format": "" + "type": "IoArgoprojEventsV1alpha1S3Filter" }, { "name": "insecure", "baseName": "insecure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKey", "baseName": "secretKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1S3Artifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Bucket.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Bucket.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Bucket.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Bucket.ts index 57afc9b..c1562cf 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Bucket.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Bucket.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1S3Bucket { 'key'?: string; 'name'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1S3Bucket.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Filter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Filter.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Filter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Filter.ts index 02ac623..b578ff0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1S3Filter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1S3Filter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1S3Filter { 'prefix'?: string; 'suffix'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "prefix", "baseName": "prefix", - "type": "string", - "format": "" + "type": "string" }, { "name": "suffix", "baseName": "suffix", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1S3Filter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SASLConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SASLConfig.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SASLConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SASLConfig.ts index f678440..3d64052 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SASLConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SASLConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1SASLConfig { 'mechanism'?: string; 'password'?: IoK8sApiCoreV1SecretKeySelector; 'user'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "mechanism", "baseName": "mechanism", - "type": "string", - "format": "" + "type": "string" }, { "name": "password", "baseName": "password", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "user", "baseName": "user", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SASLConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SNSEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SNSEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SNSEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SNSEventSource.ts index e8d4ec9..9e17b90 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SNSEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SNSEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1SNSEventSource { 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; @@ -27,75 +28,62 @@ export class IoArgoprojEventsV1alpha1SNSEventSource { 'validateSignature'?: boolean; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKey", "baseName": "accessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "roleARN", "baseName": "roleARN", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKey", "baseName": "secretKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "topicArn", "baseName": "topicArn", - "type": "string", - "format": "" + "type": "string" }, { "name": "validateSignature", "baseName": "validateSignature", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SNSEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SQSEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SQSEventSource.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SQSEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SQSEventSource.ts index c3e1bcb..04899e5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SQSEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SQSEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1SQSEventSource { 'accessKey'?: IoK8sApiCoreV1SecretKeySelector; @@ -32,93 +33,77 @@ export class IoArgoprojEventsV1alpha1SQSEventSource { */ 'waitTimeSeconds'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKey", "baseName": "accessKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "dlq", "baseName": "dlq", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "jsonBody", "baseName": "jsonBody", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "queue", "baseName": "queue", - "type": "string", - "format": "" + "type": "string" }, { "name": "queueAccountId", "baseName": "queueAccountId", - "type": "string", - "format": "" + "type": "string" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "roleARN", "baseName": "roleARN", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKey", "baseName": "secretKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "sessionToken", "baseName": "sessionToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "waitTimeSeconds", "baseName": "waitTimeSeconds", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SQSEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SecureHeader.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SecureHeader.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SecureHeader.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SecureHeader.ts index 93544e6..87448ab 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SecureHeader.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SecureHeader.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1ValueFromSource } from '../models/IoArgoprojEventsV1alpha1ValueFromSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from './ioArgoprojEventsV1alpha1ValueFromSource'; export class IoArgoprojEventsV1alpha1SecureHeader { 'name'?: string; 'valueFrom'?: IoArgoprojEventsV1alpha1ValueFromSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "valueFrom", "baseName": "valueFrom", - "type": "IoArgoprojEventsV1alpha1ValueFromSource", - "format": "" + "type": "IoArgoprojEventsV1alpha1ValueFromSource" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SecureHeader.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Selector.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Selector.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Selector.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Selector.ts index 8422015..2f02064 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Selector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Selector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Selector represents conditional operation to select K8s objects. @@ -20,33 +21,27 @@ export class IoArgoprojEventsV1alpha1Selector { 'operation'?: string; 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Selector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Sensor.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Sensor.ts similarity index 53% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Sensor.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Sensor.ts index e409dfc..2cb90d3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Sensor.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Sensor.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,43 +11,37 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1SensorSpec } from '../models/IoArgoprojEventsV1alpha1SensorSpec'; -import { IoArgoprojEventsV1alpha1SensorStatus } from '../models/IoArgoprojEventsV1alpha1SensorStatus'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1SensorSpec } from './ioArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from './ioArgoprojEventsV1alpha1SensorStatus'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; export class IoArgoprojEventsV1alpha1Sensor { 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec'?: IoArgoprojEventsV1alpha1SensorSpec; 'status'?: IoArgoprojEventsV1alpha1SensorStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojEventsV1alpha1SensorSpec", - "format": "" + "type": "IoArgoprojEventsV1alpha1SensorSpec" }, { "name": "status", "baseName": "status", - "type": "IoArgoprojEventsV1alpha1SensorStatus", - "format": "" + "type": "IoArgoprojEventsV1alpha1SensorStatus" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Sensor.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorList.ts similarity index 56% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorList.ts index cfa04dd..b6d9bda 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Sensor } from './ioArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; export class IoArgoprojEventsV1alpha1SensorList { 'items'?: Array; 'metadata'?: IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SensorList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorSpec.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorSpec.ts index 2e305c4..0c6807a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventDependency } from '../models/IoArgoprojEventsV1alpha1EventDependency'; -import { IoArgoprojEventsV1alpha1Template } from '../models/IoArgoprojEventsV1alpha1Template'; -import { IoArgoprojEventsV1alpha1Trigger } from '../models/IoArgoprojEventsV1alpha1Trigger'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventDependency } from './ioArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1Template } from './ioArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1Trigger } from './ioArgoprojEventsV1alpha1Trigger'; export class IoArgoprojEventsV1alpha1SensorSpec { /** @@ -32,51 +33,42 @@ export class IoArgoprojEventsV1alpha1SensorSpec { */ 'triggers'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "dependencies", "baseName": "dependencies", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "errorOnFailedRound", "baseName": "errorOnFailedRound", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "eventBusName", "baseName": "eventBusName", - "type": "string", - "format": "" + "type": "string" }, { "name": "replicas", "baseName": "replicas", - "type": "number", - "format": "" + "type": "number" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojEventsV1alpha1Template", - "format": "" + "type": "IoArgoprojEventsV1alpha1Template" }, { "name": "triggers", "baseName": "triggers", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SensorSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorStatus.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorStatus.ts index 6ee3854..3a694a6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SensorStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SensorStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Status } from '../models/IoArgoprojEventsV1alpha1Status'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Status } from './ioArgoprojEventsV1alpha1Status'; /** * SensorStatus contains information about the status of a sensor. @@ -19,21 +20,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojEventsV1alpha1SensorStatus { 'status'?: IoArgoprojEventsV1alpha1Status; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "status", "baseName": "status", - "type": "IoArgoprojEventsV1alpha1Status", - "format": "" + "type": "IoArgoprojEventsV1alpha1Status" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SensorStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Service.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Service.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Service.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Service.ts index 252c537..c45bf36 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Service.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Service.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ServicePort } from '../models/IoK8sApiCoreV1ServicePort'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ServicePort } from './ioK8sApiCoreV1ServicePort'; export class IoArgoprojEventsV1alpha1Service { 'clusterIP'?: string; 'ports'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clusterIP", "baseName": "clusterIP", - "type": "string", - "format": "" + "type": "string" }, { "name": "ports", "baseName": "ports", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Service.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackEventSource.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackEventSource.ts index 9cdd2af..a84530c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1SlackEventSource { 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; @@ -22,45 +23,37 @@ export class IoArgoprojEventsV1alpha1SlackEventSource { 'token'?: IoK8sApiCoreV1SecretKeySelector; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "signingSecret", "baseName": "signingSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "token", "baseName": "token", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SlackEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackTrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackTrigger.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackTrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackTrigger.ts index 3c8660d..b8fbedb 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1SlackTrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1SlackTrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * SlackTrigger refers to the specification of the slack notification trigger. @@ -23,39 +24,32 @@ export class IoArgoprojEventsV1alpha1SlackTrigger { 'parameters'?: Array; 'slackToken'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "channel", "baseName": "channel", - "type": "string", - "format": "" + "type": "string" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "slackToken", "baseName": "slackToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1SlackTrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StandardK8STrigger.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StandardK8STrigger.ts index 9724bb6..6d2846f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StandardK8STrigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StandardK8STrigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1ArtifactLocation } from '../models/IoArgoprojEventsV1alpha1ArtifactLocation'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from './ioArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; export class IoArgoprojEventsV1alpha1StandardK8STrigger { 'liveObject'?: boolean; @@ -24,45 +25,37 @@ export class IoArgoprojEventsV1alpha1StandardK8STrigger { 'patchStrategy'?: string; 'source'?: IoArgoprojEventsV1alpha1ArtifactLocation; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "liveObject", "baseName": "liveObject", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "patchStrategy", "baseName": "patchStrategy", - "type": "string", - "format": "" + "type": "string" }, { "name": "source", "baseName": "source", - "type": "IoArgoprojEventsV1alpha1ArtifactLocation", - "format": "" + "type": "IoArgoprojEventsV1alpha1ArtifactLocation" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1StandardK8STrigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Status.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Status.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Status.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Status.ts index fbf2b53..ffef172 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Status.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Status.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Condition } from '../models/IoArgoprojEventsV1alpha1Condition'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Condition } from './ioArgoprojEventsV1alpha1Condition'; /** * Status is a common structure which can be used for Status field. @@ -19,21 +20,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojEventsV1alpha1Status { 'conditions'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "conditions", "baseName": "conditions", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Status.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StatusPolicy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StatusPolicy.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StatusPolicy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StatusPolicy.ts index 8e75faf..3483bcd 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StatusPolicy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StatusPolicy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1StatusPolicy { 'allow'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "allow", "baseName": "allow", - "type": "Array", - "format": "int32" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1StatusPolicy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridEventSource.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridEventSource.ts index cbfae78..d82d1c4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from './ioArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1StorageGridEventSource { /** @@ -32,69 +33,57 @@ export class IoArgoprojEventsV1alpha1StorageGridEventSource { 'topicArn'?: string; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiURL", "baseName": "apiURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "authToken", "baseName": "authToken", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "events", "baseName": "events", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1StorageGridFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1StorageGridFilter" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "topicArn", "baseName": "topicArn", - "type": "string", - "format": "" + "type": "string" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1StorageGridEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridFilter.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridFilter.ts index f7dad70..d6c7425 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StorageGridFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StorageGridFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1StorageGridFilter { 'prefix'?: string; 'suffix'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "prefix", "baseName": "prefix", - "type": "string", - "format": "" + "type": "string" }, { "name": "suffix", "baseName": "suffix", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1StorageGridFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StripeEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StripeEventSource.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StripeEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StripeEventSource.ts index 701e354..4a68e1f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1StripeEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1StripeEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1StripeEventSource { 'apiKey'?: IoK8sApiCoreV1SecretKeySelector; @@ -21,45 +22,37 @@ export class IoArgoprojEventsV1alpha1StripeEventSource { 'metadata'?: { [key: string]: string; }; 'webhook'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiKey", "baseName": "apiKey", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "createWebhook", "baseName": "createWebhook", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "eventFilter", "baseName": "eventFilter", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "webhook", "baseName": "webhook", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1StripeEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TLSConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TLSConfig.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TLSConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TLSConfig.ts index aad250e..0c656e3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TLSConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TLSConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * TLSConfig refers to TLS configuration for a client. @@ -22,39 +23,32 @@ export class IoArgoprojEventsV1alpha1TLSConfig { 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; 'insecureSkipVerify'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "caCertSecret", "baseName": "caCertSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "clientCertSecret", "baseName": "clientCertSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "clientKeySecret", "baseName": "clientKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "insecureSkipVerify", "baseName": "insecureSkipVerify", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TLSConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Template.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Template.ts similarity index 56% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Template.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Template.ts index 88c4816..b7ad143 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Template.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Template.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,14 +11,14 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Metadata } from '../models/IoArgoprojEventsV1alpha1Metadata'; -import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; -import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; -import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; -import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Metadata } from './ioArgoprojEventsV1alpha1Metadata'; +import { IoK8sApiCoreV1Affinity } from './ioK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1Container } from './ioK8sApiCoreV1Container'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1PodSecurityContext } from './ioK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1Toleration } from './ioK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1Volume } from './ioK8sApiCoreV1Volume'; export class IoArgoprojEventsV1alpha1Template { 'affinity'?: IoK8sApiCoreV1Affinity; @@ -32,81 +33,67 @@ export class IoArgoprojEventsV1alpha1Template { 'tolerations'?: Array; 'volumes'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "affinity", "baseName": "affinity", - "type": "IoK8sApiCoreV1Affinity", - "format": "" + "type": "IoK8sApiCoreV1Affinity" }, { "name": "container", "baseName": "container", - "type": "IoK8sApiCoreV1Container", - "format": "" + "type": "IoK8sApiCoreV1Container" }, { "name": "imagePullSecrets", "baseName": "imagePullSecrets", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "metadata", "baseName": "metadata", - "type": "IoArgoprojEventsV1alpha1Metadata", - "format": "" + "type": "IoArgoprojEventsV1alpha1Metadata" }, { "name": "nodeSelector", "baseName": "nodeSelector", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "priority", "baseName": "priority", - "type": "number", - "format": "" + "type": "number" }, { "name": "priorityClassName", "baseName": "priorityClassName", - "type": "string", - "format": "" + "type": "string" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1PodSecurityContext", - "format": "" + "type": "IoK8sApiCoreV1PodSecurityContext" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "tolerations", "baseName": "tolerations", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumes", "baseName": "volumes", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Template.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TimeFilter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TimeFilter.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TimeFilter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TimeFilter.ts index 4f5b9b0..c53d41b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TimeFilter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TimeFilter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TimeFilter describes a window in time. It filters out events that occur outside the time limits. In other words, only events that occur after Start and before Stop will pass this filter. @@ -25,27 +26,22 @@ export class IoArgoprojEventsV1alpha1TimeFilter { */ 'stop'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "start", "baseName": "start", - "type": "string", - "format": "" + "type": "string" }, { "name": "stop", "baseName": "stop", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TimeFilter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Trigger.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Trigger.ts similarity index 53% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Trigger.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Trigger.ts index fa6a3a6..8bab8d5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1Trigger.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1Trigger.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +11,12 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Backoff } from '../models/IoArgoprojEventsV1alpha1Backoff'; -import { IoArgoprojEventsV1alpha1RateLimit } from '../models/IoArgoprojEventsV1alpha1RateLimit'; -import { IoArgoprojEventsV1alpha1TriggerParameter } from '../models/IoArgoprojEventsV1alpha1TriggerParameter'; -import { IoArgoprojEventsV1alpha1TriggerPolicy } from '../models/IoArgoprojEventsV1alpha1TriggerPolicy'; -import { IoArgoprojEventsV1alpha1TriggerTemplate } from '../models/IoArgoprojEventsV1alpha1TriggerTemplate'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1RateLimit } from './ioArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from './ioArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from './ioArgoprojEventsV1alpha1TriggerTemplate'; export class IoArgoprojEventsV1alpha1Trigger { 'parameters'?: Array; @@ -24,45 +25,37 @@ export class IoArgoprojEventsV1alpha1Trigger { 'retryStrategy'?: IoArgoprojEventsV1alpha1Backoff; 'template'?: IoArgoprojEventsV1alpha1TriggerTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "policy", "baseName": "policy", - "type": "IoArgoprojEventsV1alpha1TriggerPolicy", - "format": "" + "type": "IoArgoprojEventsV1alpha1TriggerPolicy" }, { "name": "rateLimit", "baseName": "rateLimit", - "type": "IoArgoprojEventsV1alpha1RateLimit", - "format": "" + "type": "IoArgoprojEventsV1alpha1RateLimit" }, { "name": "retryStrategy", "baseName": "retryStrategy", - "type": "IoArgoprojEventsV1alpha1Backoff", - "format": "" + "type": "IoArgoprojEventsV1alpha1Backoff" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojEventsV1alpha1TriggerTemplate", - "format": "" + "type": "IoArgoprojEventsV1alpha1TriggerTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1Trigger.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameter.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameter.ts index 8caed14..c682ae9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1TriggerParameterSource } from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from './ioArgoprojEventsV1alpha1TriggerParameterSource'; export class IoArgoprojEventsV1alpha1TriggerParameter { /** @@ -24,33 +25,27 @@ export class IoArgoprojEventsV1alpha1TriggerParameter { 'operation'?: string; 'src'?: IoArgoprojEventsV1alpha1TriggerParameterSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "dest", "baseName": "dest", - "type": "string", - "format": "" + "type": "string" }, { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "src", "baseName": "src", - "type": "IoArgoprojEventsV1alpha1TriggerParameterSource", - "format": "" + "type": "IoArgoprojEventsV1alpha1TriggerParameterSource" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TriggerParameter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameterSource.ts similarity index 80% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameterSource.ts index 4dd67c0..4cee827 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerParameterSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerParameterSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1TriggerParameterSource { /** @@ -32,51 +33,42 @@ export class IoArgoprojEventsV1alpha1TriggerParameterSource { */ 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "contextKey", "baseName": "contextKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "contextTemplate", "baseName": "contextTemplate", - "type": "string", - "format": "" + "type": "string" }, { "name": "dataKey", "baseName": "dataKey", - "type": "string", - "format": "" + "type": "string" }, { "name": "dataTemplate", "baseName": "dataTemplate", - "type": "string", - "format": "" + "type": "string" }, { "name": "dependencyName", "baseName": "dependencyName", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TriggerParameterSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerPolicy.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerPolicy.ts index b5682bf..337effc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerPolicy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerPolicy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy'; -import { IoArgoprojEventsV1alpha1StatusPolicy } from '../models/IoArgoprojEventsV1alpha1StatusPolicy'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from './ioArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from './ioArgoprojEventsV1alpha1StatusPolicy'; export class IoArgoprojEventsV1alpha1TriggerPolicy { 'k8s'?: IoArgoprojEventsV1alpha1K8SResourcePolicy; 'status'?: IoArgoprojEventsV1alpha1StatusPolicy; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "k8s", "baseName": "k8s", - "type": "IoArgoprojEventsV1alpha1K8SResourcePolicy", - "format": "" + "type": "IoArgoprojEventsV1alpha1K8SResourcePolicy" }, { "name": "status", "baseName": "status", - "type": "IoArgoprojEventsV1alpha1StatusPolicy", - "format": "" + "type": "IoArgoprojEventsV1alpha1StatusPolicy" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TriggerPolicy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerTemplate.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerTemplate.ts index 05aca5f..11c2449 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1TriggerTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1TriggerTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,20 +11,20 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger'; -import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger'; -import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger'; -import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria'; -import { IoArgoprojEventsV1alpha1CustomTrigger } from '../models/IoArgoprojEventsV1alpha1CustomTrigger'; -import { IoArgoprojEventsV1alpha1HTTPTrigger } from '../models/IoArgoprojEventsV1alpha1HTTPTrigger'; -import { IoArgoprojEventsV1alpha1KafkaTrigger } from '../models/IoArgoprojEventsV1alpha1KafkaTrigger'; -import { IoArgoprojEventsV1alpha1LogTrigger } from '../models/IoArgoprojEventsV1alpha1LogTrigger'; -import { IoArgoprojEventsV1alpha1NATSTrigger } from '../models/IoArgoprojEventsV1alpha1NATSTrigger'; -import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger'; -import { IoArgoprojEventsV1alpha1PulsarTrigger } from '../models/IoArgoprojEventsV1alpha1PulsarTrigger'; -import { IoArgoprojEventsV1alpha1SlackTrigger } from '../models/IoArgoprojEventsV1alpha1SlackTrigger'; -import { IoArgoprojEventsV1alpha1StandardK8STrigger } from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from './ioArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from './ioArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from './ioArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from './ioArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from './ioArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from './ioArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from './ioArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from './ioArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from './ioArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from './ioArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from './ioArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from './ioArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from './ioArgoprojEventsV1alpha1StandardK8STrigger'; /** * TriggerTemplate is the template that describes trigger specification. @@ -48,105 +49,87 @@ export class IoArgoprojEventsV1alpha1TriggerTemplate { 'pulsar'?: IoArgoprojEventsV1alpha1PulsarTrigger; 'slack'?: IoArgoprojEventsV1alpha1SlackTrigger; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "argoWorkflow", "baseName": "argoWorkflow", - "type": "IoArgoprojEventsV1alpha1ArgoWorkflowTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1ArgoWorkflowTrigger" }, { "name": "awsLambda", "baseName": "awsLambda", - "type": "IoArgoprojEventsV1alpha1AWSLambdaTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1AWSLambdaTrigger" }, { "name": "azureEventHubs", "baseName": "azureEventHubs", - "type": "IoArgoprojEventsV1alpha1AzureEventHubsTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1AzureEventHubsTrigger" }, { "name": "conditions", "baseName": "conditions", - "type": "string", - "format": "" + "type": "string" }, { "name": "conditionsReset", "baseName": "conditionsReset", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "custom", "baseName": "custom", - "type": "IoArgoprojEventsV1alpha1CustomTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1CustomTrigger" }, { "name": "http", "baseName": "http", - "type": "IoArgoprojEventsV1alpha1HTTPTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1HTTPTrigger" }, { "name": "k8s", "baseName": "k8s", - "type": "IoArgoprojEventsV1alpha1StandardK8STrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1StandardK8STrigger" }, { "name": "kafka", "baseName": "kafka", - "type": "IoArgoprojEventsV1alpha1KafkaTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1KafkaTrigger" }, { "name": "log", "baseName": "log", - "type": "IoArgoprojEventsV1alpha1LogTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1LogTrigger" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "nats", "baseName": "nats", - "type": "IoArgoprojEventsV1alpha1NATSTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1NATSTrigger" }, { "name": "openWhisk", "baseName": "openWhisk", - "type": "IoArgoprojEventsV1alpha1OpenWhiskTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1OpenWhiskTrigger" }, { "name": "pulsar", "baseName": "pulsar", - "type": "IoArgoprojEventsV1alpha1PulsarTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1PulsarTrigger" }, { "name": "slack", "baseName": "slack", - "type": "IoArgoprojEventsV1alpha1SlackTrigger", - "format": "" + "type": "IoArgoprojEventsV1alpha1SlackTrigger" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1TriggerTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1URLArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1URLArtifact.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1URLArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1URLArtifact.ts index a374a56..6f9a264 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1URLArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1URLArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * URLArtifact contains information about an artifact at an http endpoint. @@ -19,27 +20,22 @@ export class IoArgoprojEventsV1alpha1URLArtifact { 'path'?: string; 'verifyCert'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "verifyCert", "baseName": "verifyCert", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1URLArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ValueFromSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ValueFromSource.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ValueFromSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ValueFromSource.ts index 32c2cce..fa5d475 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1ValueFromSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1ValueFromSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1ValueFromSource { 'configMapKeyRef'?: IoK8sApiCoreV1ConfigMapKeySelector; 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMapKeyRef", "baseName": "configMapKeyRef", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "secretKeyRef", "baseName": "secretKeyRef", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1ValueFromSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WatchPathConfig.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WatchPathConfig.ts index b343cd9..30d2053 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WatchPathConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WatchPathConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,40 +11,34 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojEventsV1alpha1WatchPathConfig { 'directory'?: string; 'path'?: string; 'pathRegexp'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "directory", "baseName": "directory", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "pathRegexp", "baseName": "pathRegexp", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1WatchPathConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookContext.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookContext.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookContext.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookContext.ts index 675e097..3a25c91 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookContext.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookContext.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojEventsV1alpha1WebhookContext { 'authSecret'?: IoK8sApiCoreV1SecretKeySelector; @@ -30,69 +31,57 @@ export class IoArgoprojEventsV1alpha1WebhookContext { */ 'url'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "authSecret", "baseName": "authSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "maxPayloadSize", "baseName": "maxPayloadSize", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "method", "baseName": "method", - "type": "string", - "format": "" + "type": "string" }, { "name": "port", "baseName": "port", - "type": "string", - "format": "" + "type": "string" }, { "name": "serverCertSecret", "baseName": "serverCertSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "serverKeySecret", "baseName": "serverKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1WebhookContext.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookEventSource.ts similarity index 56% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookEventSource.ts index 30440c4..97476d7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojEventsV1alpha1WebhookEventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojEventsV1alpha1WebhookEventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1EventSourceFilter } from '../models/IoArgoprojEventsV1alpha1EventSourceFilter'; -import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; export class IoArgoprojEventsV1alpha1WebhookEventSource { 'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter; 'webhookContext'?: IoArgoprojEventsV1alpha1WebhookContext; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "filter", "baseName": "filter", - "type": "IoArgoprojEventsV1alpha1EventSourceFilter", - "format": "" + "type": "IoArgoprojEventsV1alpha1EventSourceFilter" }, { "name": "webhookContext", "baseName": "webhookContext", - "type": "IoArgoprojEventsV1alpha1WebhookContext", - "format": "" + "type": "IoArgoprojEventsV1alpha1WebhookContext" } ]; static getAttributeTypeMap() { return IoArgoprojEventsV1alpha1WebhookEventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArchiveStrategy.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArchiveStrategy.ts index feb9ca2..6ea41a3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArchiveStrategy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArchiveStrategy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1TarStrategy } from '../models/IoArgoprojWorkflowV1alpha1TarStrategy'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from './ioArgoprojWorkflowV1alpha1TarStrategy'; /** * ArchiveStrategy describes how to archive files/directory when saving artifacts @@ -20,40 +21,34 @@ export class IoArgoprojWorkflowV1alpha1ArchiveStrategy { /** * NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately. */ - 'none'?: any; + 'none'?: object; 'tar'?: IoArgoprojWorkflowV1alpha1TarStrategy; /** * ZipStrategy will unzip zipped input artifacts */ - 'zip'?: any; + 'zip'?: object; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "none", "baseName": "none", - "type": "any", - "format": "" + "type": "object" }, { "name": "tar", "baseName": "tar", - "type": "IoArgoprojWorkflowV1alpha1TarStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TarStrategy" }, { "name": "zip", "baseName": "zip", - "type": "any", - "format": "" + "type": "object" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArchiveStrategy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Arguments.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Arguments.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Arguments.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Arguments.ts index b77b23e..7f7f7bf 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Arguments.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Arguments.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; -import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from './ioArgoprojWorkflowV1alpha1Parameter'; /** * Arguments to a template @@ -27,27 +28,22 @@ export class IoArgoprojWorkflowV1alpha1Arguments { */ 'parameters'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifacts", "baseName": "artifacts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Arguments.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtGCStatus.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtGCStatus.ts index 21446a4..231558f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtGCStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtGCStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ArtGCStatus maintains state related to ArtifactGC @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1ArtGCStatus { */ 'strategiesProcessed'?: { [key: string]: boolean; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "notSpecified", "baseName": "notSpecified", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "podsRecouped", "baseName": "podsRecouped", - "type": "{ [key: string]: boolean; }", - "format": "" + "type": "{ [key: string]: boolean; }" }, { "name": "strategiesProcessed", "baseName": "strategiesProcessed", - "type": "{ [key: string]: boolean; }", - "format": "" + "type": "{ [key: string]: boolean; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtGCStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Artifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Artifact.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Artifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Artifact.ts index 84edbfc..969801f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Artifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Artifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,18 +11,18 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; -import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; -import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; -import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; -import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; -import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; -import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; -import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; -import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; -import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; -import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from './ioArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from './ioArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from './ioArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from './ioArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from './ioArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from './ioArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from './ioArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from './ioArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from './ioArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from './ioArgoprojWorkflowV1alpha1S3Artifact'; /** * Artifact indicates an artifact to place at a specified path @@ -42,7 +43,7 @@ export class IoArgoprojWorkflowV1alpha1Artifact { /** * From allows an artifact to reference an artifact from a previous step */ - '_from'?: string; + 'from'?: string; /** * FromExpression, if defined, is evaluated to specify the value for the artifact */ @@ -83,147 +84,122 @@ export class IoArgoprojWorkflowV1alpha1Artifact { */ 'subPath'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "archive", "baseName": "archive", - "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy" }, { "name": "archiveLogs", "baseName": "archiveLogs", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "artifactGC", "baseName": "artifactGC", - "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC" }, { "name": "artifactory", "baseName": "artifactory", - "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact" }, { "name": "azure", "baseName": "azure", - "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact" }, { "name": "deleted", "baseName": "deleted", - "type": "boolean", - "format": "" + "type": "boolean" }, { - "name": "_from", + "name": "from", "baseName": "from", - "type": "string", - "format": "" + "type": "string" }, { "name": "fromExpression", "baseName": "fromExpression", - "type": "string", - "format": "" + "type": "string" }, { "name": "gcs", "baseName": "gcs", - "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact" }, { "name": "git", "baseName": "git", - "type": "IoArgoprojWorkflowV1alpha1GitArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GitArtifact" }, { "name": "globalName", "baseName": "globalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "hdfs", "baseName": "hdfs", - "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact" }, { "name": "http", "baseName": "http", - "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact" }, { "name": "mode", "baseName": "mode", - "type": "number", - "format": "" + "type": "number" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "oss", "baseName": "oss", - "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "raw", "baseName": "raw", - "type": "IoArgoprojWorkflowV1alpha1RawArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RawArtifact" }, { "name": "recurseMode", "baseName": "recurseMode", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "s3", "baseName": "s3", - "type": "IoArgoprojWorkflowV1alpha1S3Artifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3Artifact" }, { "name": "subPath", "baseName": "subPath", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Artifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGC.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGC.ts index af0b99c..c1ba2c9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGC.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGC.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Metadata } from './ioArgoprojWorkflowV1alpha1Metadata'; /** * ArtifactGC describes how to delete artifacts from completed Workflows - this is embedded into the WorkflowLevelArtifactGC, and also used for individual Artifacts to override that as needed @@ -27,33 +28,27 @@ export class IoArgoprojWorkflowV1alpha1ArtifactGC { */ 'strategy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "podMetadata", "baseName": "podMetadata", - "type": "IoArgoprojWorkflowV1alpha1Metadata", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metadata" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "strategy", "baseName": "strategy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactGC.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCSpec.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCSpec.ts index 20eef75..8391eb3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from './ioArgoprojWorkflowV1alpha1ArtifactNodeSpec'; /** * ArtifactGCSpec specifies the Artifacts that need to be deleted @@ -22,21 +23,17 @@ export class IoArgoprojWorkflowV1alpha1ArtifactGCSpec { */ 'artifactsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactsByNode", "baseName": "artifactsByNode", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactNodeSpec; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactGCSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCStatus.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCStatus.ts index 0a555b2..e318f6d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactGCStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from './ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; /** * ArtifactGCStatus describes the result of the deletion @@ -22,21 +23,17 @@ export class IoArgoprojWorkflowV1alpha1ArtifactGCStatus { */ 'artifactResultsByNode'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactResultsByNode", "baseName": "artifactResultsByNode", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactGCStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactLocation.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactLocation.ts index 1136aae..843e17d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactLocation.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactLocation.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; -import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; -import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; -import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; -import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; -import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; -import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; -import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; -import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from './ioArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from './ioArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from './ioArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from './ioArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from './ioArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from './ioArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from './ioArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from './ioArgoprojWorkflowV1alpha1S3Artifact'; /** * ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files. @@ -39,75 +40,62 @@ export class IoArgoprojWorkflowV1alpha1ArtifactLocation { 'raw'?: IoArgoprojWorkflowV1alpha1RawArtifact; 's3'?: IoArgoprojWorkflowV1alpha1S3Artifact; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "archiveLogs", "baseName": "archiveLogs", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "artifactory", "baseName": "artifactory", - "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact" }, { "name": "azure", "baseName": "azure", - "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact" }, { "name": "gcs", "baseName": "gcs", - "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact" }, { "name": "git", "baseName": "git", - "type": "IoArgoprojWorkflowV1alpha1GitArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GitArtifact" }, { "name": "hdfs", "baseName": "hdfs", - "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact" }, { "name": "http", "baseName": "http", - "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact" }, { "name": "oss", "baseName": "oss", - "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact" }, { "name": "raw", "baseName": "raw", - "type": "IoArgoprojWorkflowV1alpha1RawArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RawArtifact" }, { "name": "s3", "baseName": "s3", - "type": "IoArgoprojWorkflowV1alpha1S3Artifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3Artifact" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactLocation.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts index efbec46..8fbab08 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactNodeSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; -import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from './ioArgoprojWorkflowV1alpha1ArtifactLocation'; /** * ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node @@ -24,27 +25,22 @@ export class IoArgoprojWorkflowV1alpha1ArtifactNodeSpec { */ 'artifacts'?: { [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "archiveLocation", "baseName": "archiveLocation", - "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation" }, { "name": "artifacts", "baseName": "artifacts", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Artifact; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactPaths.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactPaths.ts index 95c9a5d..373a044 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactPaths.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactPaths.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,18 +11,18 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy'; -import { IoArgoprojWorkflowV1alpha1ArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC'; -import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact'; -import { IoArgoprojWorkflowV1alpha1AzureArtifact } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact'; -import { IoArgoprojWorkflowV1alpha1GCSArtifact } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact'; -import { IoArgoprojWorkflowV1alpha1GitArtifact } from '../models/IoArgoprojWorkflowV1alpha1GitArtifact'; -import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact'; -import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact'; -import { IoArgoprojWorkflowV1alpha1OSSArtifact } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact'; -import { IoArgoprojWorkflowV1alpha1RawArtifact } from '../models/IoArgoprojWorkflowV1alpha1RawArtifact'; -import { IoArgoprojWorkflowV1alpha1S3Artifact } from '../models/IoArgoprojWorkflowV1alpha1S3Artifact'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from './ioArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from './ioArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from './ioArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from './ioArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from './ioArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from './ioArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from './ioArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from './ioArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from './ioArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from './ioArgoprojWorkflowV1alpha1S3Artifact'; /** * ArtifactPaths expands a step from a collection of artifacts @@ -42,7 +43,7 @@ export class IoArgoprojWorkflowV1alpha1ArtifactPaths { /** * From allows an artifact to reference an artifact from a previous step */ - '_from'?: string; + 'from'?: string; /** * FromExpression, if defined, is evaluated to specify the value for the artifact */ @@ -83,147 +84,122 @@ export class IoArgoprojWorkflowV1alpha1ArtifactPaths { */ 'subPath'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "archive", "baseName": "archive", - "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArchiveStrategy" }, { "name": "archiveLogs", "baseName": "archiveLogs", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "artifactGC", "baseName": "artifactGC", - "type": "IoArgoprojWorkflowV1alpha1ArtifactGC", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactGC" }, { "name": "artifactory", "baseName": "artifactory", - "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact" }, { "name": "azure", "baseName": "azure", - "type": "IoArgoprojWorkflowV1alpha1AzureArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1AzureArtifact" }, { "name": "deleted", "baseName": "deleted", - "type": "boolean", - "format": "" + "type": "boolean" }, { - "name": "_from", + "name": "from", "baseName": "from", - "type": "string", - "format": "" + "type": "string" }, { "name": "fromExpression", "baseName": "fromExpression", - "type": "string", - "format": "" + "type": "string" }, { "name": "gcs", "baseName": "gcs", - "type": "IoArgoprojWorkflowV1alpha1GCSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GCSArtifact" }, { "name": "git", "baseName": "git", - "type": "IoArgoprojWorkflowV1alpha1GitArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GitArtifact" }, { "name": "globalName", "baseName": "globalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "hdfs", "baseName": "hdfs", - "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifact" }, { "name": "http", "baseName": "http", - "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPArtifact" }, { "name": "mode", "baseName": "mode", - "type": "number", - "format": "" + "type": "number" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "oss", "baseName": "oss", - "type": "IoArgoprojWorkflowV1alpha1OSSArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSArtifact" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "raw", "baseName": "raw", - "type": "IoArgoprojWorkflowV1alpha1RawArtifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RawArtifact" }, { "name": "recurseMode", "baseName": "recurseMode", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "s3", "baseName": "s3", - "type": "IoArgoprojWorkflowV1alpha1S3Artifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3Artifact" }, { "name": "subPath", "baseName": "subPath", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactPaths.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepository.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepository.ts index fa40dab..36d7e19 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +11,13 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; -import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository'; -import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository'; -import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository'; -import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository'; -import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from './ioArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from './ioArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from './ioArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from './ioArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from './ioArgoprojWorkflowV1alpha1S3ArtifactRepository'; /** * ArtifactRepository represents an artifact repository in which a controller will store its artifacts @@ -33,57 +34,47 @@ export class IoArgoprojWorkflowV1alpha1ArtifactRepository { 'oss'?: IoArgoprojWorkflowV1alpha1OSSArtifactRepository; 's3'?: IoArgoprojWorkflowV1alpha1S3ArtifactRepository; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "archiveLogs", "baseName": "archiveLogs", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "artifactory", "baseName": "artifactory", - "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository" }, { "name": "azure", "baseName": "azure", - "type": "IoArgoprojWorkflowV1alpha1AzureArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1AzureArtifactRepository" }, { "name": "gcs", "baseName": "gcs", - "type": "IoArgoprojWorkflowV1alpha1GCSArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1GCSArtifactRepository" }, { "name": "hdfs", "baseName": "hdfs", - "type": "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository" }, { "name": "oss", "baseName": "oss", - "type": "IoArgoprojWorkflowV1alpha1OSSArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSArtifactRepository" }, { "name": "s3", "baseName": "s3", - "type": "IoArgoprojWorkflowV1alpha1S3ArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3ArtifactRepository" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts index 5febfd7..e683cc1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef { /** @@ -22,27 +23,22 @@ export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef { */ 'key'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMap", "baseName": "configMap", - "type": "string", - "format": "" + "type": "string" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts index a12ae08..ecee65d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from './ioArgoprojWorkflowV1alpha1ArtifactRepository'; export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus { 'artifactRepository'?: IoArgoprojWorkflowV1alpha1ArtifactRepository; @@ -32,45 +33,37 @@ export class IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus { */ 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactRepository", "baseName": "artifactRepository", - "type": "IoArgoprojWorkflowV1alpha1ArtifactRepository", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepository" }, { "name": "configMap", "baseName": "configMap", - "type": "string", - "format": "" + "type": "string" }, { "name": "_default", "baseName": "default", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResult.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResult.ts index d7526be..89b7a2c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResult.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResult.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ArtifactResult describes the result of attempting to delete a given Artifact @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1ArtifactResult { */ 'success'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "success", "baseName": "success", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactResult.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts index b5bdc36..cc88927 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactResult } from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from './ioArgoprojWorkflowV1alpha1ArtifactResult'; /** * ArtifactResultNodeStatus describes the result of the deletion on a given node @@ -22,21 +23,17 @@ export class IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus { */ 'artifactResults'?: { [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactResults", "baseName": "artifactResults", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1ArtifactResult; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts index cb19d2b..4451d9f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * ArtifactoryArtifact is the location of an artifactory artifact @@ -24,33 +25,27 @@ export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifact { 'url': string; 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "passwordSecret", "baseName": "passwordSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" }, { "name": "usernameSecret", "baseName": "usernameSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactoryArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts index e89ea4d..9958eb9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * ArtifactoryArtifactRepository defines the controller configuration for an artifactory artifact repository @@ -24,33 +25,27 @@ export class IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository { 'repoURL'?: string; 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "passwordSecret", "baseName": "passwordSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "repoURL", "baseName": "repoURL", - "type": "string", - "format": "" + "type": "string" }, { "name": "usernameSecret", "baseName": "usernameSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifact.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifact.ts index 6f338a3..577ce06 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * AzureArtifact is the location of a an Azure Storage artifact @@ -35,45 +36,37 @@ export class IoArgoprojWorkflowV1alpha1AzureArtifact { */ 'useSDKCreds'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accountKeySecret", "baseName": "accountKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "blob", "baseName": "blob", - "type": "string", - "format": "" + "type": "string" }, { "name": "container", "baseName": "container", - "type": "string", - "format": "" + "type": "string" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "useSDKCreds", "baseName": "useSDKCreds", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1AzureArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifactRepository.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifactRepository.ts index d2e6964..5bfc4ef 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1AzureArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * AzureArtifactRepository defines the controller configuration for an Azure Blob Storage artifact repository @@ -35,45 +36,37 @@ export class IoArgoprojWorkflowV1alpha1AzureArtifactRepository { */ 'useSDKCreds'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accountKeySecret", "baseName": "accountKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "blobNameFormat", "baseName": "blobNameFormat", - "type": "string", - "format": "" + "type": "string" }, { "name": "container", "baseName": "container", - "type": "string", - "format": "" + "type": "string" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "useSDKCreds", "baseName": "useSDKCreds", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1AzureArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Backoff.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Backoff.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Backoff.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Backoff.ts index a73dc54..949881e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Backoff.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Backoff.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Backoff is a backoff strategy to use within retryStrategy @@ -26,33 +27,27 @@ export class IoArgoprojWorkflowV1alpha1Backoff { */ 'maxDuration'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "duration", "baseName": "duration", - "type": "string", - "format": "" + "type": "string" }, { "name": "factor", "baseName": "factor", - "type": "string", - "format": "" + "type": "string" }, { "name": "maxDuration", "baseName": "maxDuration", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Backoff.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1BasicAuth.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1BasicAuth.ts index 6282daf..3a3fb74 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1BasicAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1BasicAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * BasicAuth describes the secret selectors required for basic authentication @@ -20,27 +21,22 @@ export class IoArgoprojWorkflowV1alpha1BasicAuth { 'passwordSecret'?: IoK8sApiCoreV1SecretKeySelector; 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "passwordSecret", "baseName": "passwordSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "usernameSecret", "baseName": "usernameSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1BasicAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Cache.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Cache.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Cache.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Cache.ts index 5439d9f..ce4c4ee 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Cache.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Cache.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; /** * Cache is the configuration for the type of cache to be used @@ -19,21 +20,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojWorkflowV1alpha1Cache { 'configMap': IoK8sApiCoreV1ConfigMapKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMap", "baseName": "configMap", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Cache.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClientCertAuth.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClientCertAuth.ts index f01adfc..629fb56 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClientCertAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClientCertAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * ClientCertAuth holds necessary information for client authentication via certificates @@ -20,27 +21,22 @@ export class IoArgoprojWorkflowV1alpha1ClientCertAuth { 'clientCertSecret'?: IoK8sApiCoreV1SecretKeySelector; 'clientKeySecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clientCertSecret", "baseName": "clientCertSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "clientKeySecret", "baseName": "clientKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClientCertAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts index 72376a2..ddbd0ff 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * ClusterWorkflowTemplate is the definition of a workflow template resource in cluster scope @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate { 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts index 842d64c..a615627 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts index a6eb22d..6e4e04d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts index 758775d..1e41162 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; /** * ClusterWorkflowTemplateList is list of ClusterWorkflowTemplate resources @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList { 'kind'?: string; 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts index f4bc4d6..efe270e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest { /** @@ -20,27 +21,22 @@ export class IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest { 'name'?: string; 'template'?: IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CollectEventRequest.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CollectEventRequest.ts index 58b35ed..1d3ac15 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CollectEventRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CollectEventRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1CollectEventRequest { 'name'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CollectEventRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Column.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Column.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Column.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Column.ts index 0895d8a..c072be5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Column.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Column.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Column is a custom column that will be exposed in the Workflow List View. @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1Column { */ 'type': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Column.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Condition.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Condition.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Condition.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Condition.ts index 1e8ed57..2b58b0c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Condition.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Condition.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1Condition { /** @@ -26,33 +27,27 @@ export class IoArgoprojWorkflowV1alpha1Condition { */ 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "status", "baseName": "status", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Condition.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerNode.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerNode.ts index 8c880b3..3b72c7d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerNode.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerNode.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; -import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; -import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; -import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; -import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; -import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; -import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; -import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; -import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ContainerPort } from './ioK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1EnvFromSource } from './ioK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from './ioK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1Lifecycle } from './ioK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1Probe } from './ioK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SecurityContext } from './ioK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1VolumeDevice } from './ioK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; export class IoArgoprojWorkflowV1alpha1ContainerNode { /** @@ -94,153 +95,127 @@ export class IoArgoprojWorkflowV1alpha1ContainerNode { */ 'workingDir'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "args", "baseName": "args", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "command", "baseName": "command", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "dependencies", "baseName": "dependencies", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "env", "baseName": "env", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "envFrom", "baseName": "envFrom", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "image", "baseName": "image", - "type": "string", - "format": "" + "type": "string" }, { "name": "imagePullPolicy", "baseName": "imagePullPolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "lifecycle", "baseName": "lifecycle", - "type": "IoK8sApiCoreV1Lifecycle", - "format": "" + "type": "IoK8sApiCoreV1Lifecycle" }, { "name": "livenessProbe", "baseName": "livenessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "ports", "baseName": "ports", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "readinessProbe", "baseName": "readinessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "resources", "baseName": "resources", - "type": "IoK8sApiCoreV1ResourceRequirements", - "format": "" + "type": "IoK8sApiCoreV1ResourceRequirements" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1SecurityContext", - "format": "" + "type": "IoK8sApiCoreV1SecurityContext" }, { "name": "startupProbe", "baseName": "startupProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "stdin", "baseName": "stdin", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "stdinOnce", "baseName": "stdinOnce", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "terminationMessagePath", "baseName": "terminationMessagePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "terminationMessagePolicy", "baseName": "terminationMessagePolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "tty", "baseName": "tty", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeDevices", "baseName": "volumeDevices", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumeMounts", "baseName": "volumeMounts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "workingDir", "baseName": "workingDir", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ContainerNode.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts index bd68fa4..245e11d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy { /** @@ -19,27 +20,22 @@ export class IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy { 'duration'?: string; 'retries': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "duration", "baseName": "duration", - "type": "string", - "format": "" + "type": "string" }, { "name": "retries", "baseName": "retries", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetTemplate.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetTemplate.ts index 4530211..a7b241a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContainerSetTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,43 +11,37 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ContainerNode } from '../models/IoArgoprojWorkflowV1alpha1ContainerNode'; -import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; -import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from './ioArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from './ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; export class IoArgoprojWorkflowV1alpha1ContainerSetTemplate { 'containers': Array; 'retryStrategy'?: IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy; 'volumeMounts'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "containers", "baseName": "containers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "retryStrategy", "baseName": "retryStrategy", - "type": "IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy" }, { "name": "volumeMounts", "baseName": "volumeMounts", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ContainerSetTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContinueOn.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContinueOn.ts index 48286a2..b28e683 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ContinueOn.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ContinueOn.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ContinueOn defines if a workflow should continue even if a task or step fails/errors. It can be specified if the workflow should continue when the pod errors, fails or both. @@ -19,27 +20,22 @@ export class IoArgoprojWorkflowV1alpha1ContinueOn { 'error'?: boolean; 'failed'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "failed", "baseName": "failed", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ContinueOn.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Counter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Counter.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Counter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Counter.ts index 140e5e6..dc48d30 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Counter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Counter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Counter is a Counter prometheus metric @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1Counter { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Counter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts index 76208dd..b81ecc5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,42 +11,36 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from './ioArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "cronWorkflow", "baseName": "cronWorkflow", - "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts index b1e8caa..7f75346 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CreateS3BucketOptions.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * CreateS3BucketOptions options used to determine automatic automatic bucket-creation process @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1CreateS3BucketOptions { */ 'objectLocking'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "objectLocking", "baseName": "objectLocking", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CreateS3BucketOptions.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflow.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflow.ts index d3d1587..eaefe9b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflow.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflow.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec'; -import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from './ioArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from './ioArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * CronWorkflow is the definition of a scheduled workflow resource @@ -31,45 +32,37 @@ export class IoArgoprojWorkflowV1alpha1CronWorkflow { 'spec': IoArgoprojWorkflowV1alpha1CronWorkflowSpec; 'status'?: IoArgoprojWorkflowV1alpha1CronWorkflowStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojWorkflowV1alpha1CronWorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowSpec" }, { "name": "status", "baseName": "status", - "type": "IoArgoprojWorkflowV1alpha1CronWorkflowStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CronWorkflowStatus" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflow.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowList.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowList.ts index 2b00b0f..b6827c1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from './ioArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; /** * CronWorkflowList is list of CronWorkflow resources @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1CronWorkflowList { 'kind'?: string; 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflowList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts index 0f5737a..12692df 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest { 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSpec.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSpec.ts index b947e45..5caf511 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * CronWorkflowSpec is the specification of a CronWorkflow @@ -49,69 +50,57 @@ export class IoArgoprojWorkflowV1alpha1CronWorkflowSpec { 'workflowMetadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'workflowSpec': IoArgoprojWorkflowV1alpha1WorkflowSpec; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "concurrencyPolicy", "baseName": "concurrencyPolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "failedJobsHistoryLimit", "baseName": "failedJobsHistoryLimit", - "type": "number", - "format": "" + "type": "number" }, { "name": "schedule", "baseName": "schedule", - "type": "string", - "format": "" + "type": "string" }, { "name": "startingDeadlineSeconds", "baseName": "startingDeadlineSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "successfulJobsHistoryLimit", "baseName": "successfulJobsHistoryLimit", - "type": "number", - "format": "" + "type": "number" }, { "name": "suspend", "baseName": "suspend", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "timezone", "baseName": "timezone", - "type": "string", - "format": "" + "type": "string" }, { "name": "workflowMetadata", "baseName": "workflowMetadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "workflowSpec", "baseName": "workflowSpec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflowSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowStatus.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowStatus.ts index f69bf1d..3a0aa3d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; -import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Condition } from './ioArgoprojWorkflowV1alpha1Condition'; +import { IoK8sApiCoreV1ObjectReference } from './ioK8sApiCoreV1ObjectReference'; /** * CronWorkflowStatus is the status of a CronWorkflow @@ -31,33 +32,27 @@ export class IoArgoprojWorkflowV1alpha1CronWorkflowStatus { */ 'lastScheduledTime': Date; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "active", "baseName": "active", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "conditions", "baseName": "conditions", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "lastScheduledTime", "baseName": "lastScheduledTime", - "type": "Date", - "format": "date-time" + "type": "Date" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflowStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts index ec9d2f2..4d19a54 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest { 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTask.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTask.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTask.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTask.ts index d46ea75..3a8d083 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTask.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTask.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +11,13 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; -import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; -import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; -import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; -import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; -import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from './ioArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from './ioArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Sequence } from './ioArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from './ioArgoprojWorkflowV1alpha1TemplateRef'; /** * DAGTask represents a node in the graph during DAG execution @@ -57,106 +58,89 @@ export class IoArgoprojWorkflowV1alpha1DAGTask { /** * WithItems expands a task into multiple parallel tasks from the items in the list */ - 'withItems'?: Array; + 'withItems'?: Array; /** * WithParam expands a task into multiple parallel tasks from the value in the parameter, which is expected to be a JSON list. */ 'withParam'?: string; 'withSequence'?: IoArgoprojWorkflowV1alpha1Sequence; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "arguments", "baseName": "arguments", - "type": "IoArgoprojWorkflowV1alpha1Arguments", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Arguments" }, { "name": "continueOn", "baseName": "continueOn", - "type": "IoArgoprojWorkflowV1alpha1ContinueOn", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ContinueOn" }, { "name": "dependencies", "baseName": "dependencies", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "depends", "baseName": "depends", - "type": "string", - "format": "" + "type": "string" }, { "name": "hooks", "baseName": "hooks", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }" }, { "name": "inline", "baseName": "inline", - "type": "IoArgoprojWorkflowV1alpha1Template", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Template" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "onExit", "baseName": "onExit", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "string", - "format": "" + "type": "string" }, { "name": "templateRef", "baseName": "templateRef", - "type": "IoArgoprojWorkflowV1alpha1TemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TemplateRef" }, { "name": "when", "baseName": "when", - "type": "string", - "format": "" + "type": "string" }, { "name": "withItems", "baseName": "withItems", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "withParam", "baseName": "withParam", - "type": "string", - "format": "" + "type": "string" }, { "name": "withSequence", "baseName": "withSequence", - "type": "IoArgoprojWorkflowV1alpha1Sequence", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Sequence" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1DAGTask.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTemplate.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTemplate.ts index 2039496..decdf25 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DAGTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DAGTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1DAGTask } from '../models/IoArgoprojWorkflowV1alpha1DAGTask'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from './ioArgoprojWorkflowV1alpha1DAGTask'; /** * DAGTemplate is a template subtype for directed acyclic graph templates @@ -30,33 +31,27 @@ export class IoArgoprojWorkflowV1alpha1DAGTemplate { */ 'tasks': Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "failFast", "baseName": "failFast", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "target", "baseName": "target", - "type": "string", - "format": "" + "type": "string" }, { "name": "tasks", "baseName": "tasks", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1DAGTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Data.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Data.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Data.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Data.ts index 427a431..f92b2f1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Data.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Data.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1DataSource } from '../models/IoArgoprojWorkflowV1alpha1DataSource'; -import { IoArgoprojWorkflowV1alpha1TransformationStep } from '../models/IoArgoprojWorkflowV1alpha1TransformationStep'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1DataSource } from './ioArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from './ioArgoprojWorkflowV1alpha1TransformationStep'; /** * Data is a data template @@ -24,27 +25,22 @@ export class IoArgoprojWorkflowV1alpha1Data { */ 'transformation': Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "source", "baseName": "source", - "type": "IoArgoprojWorkflowV1alpha1DataSource", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1DataSource" }, { "name": "transformation", "baseName": "transformation", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Data.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DataSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DataSource.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DataSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DataSource.ts index 5372236..3d53140 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1DataSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1DataSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from './ioArgoprojWorkflowV1alpha1ArtifactPaths'; /** * DataSource sources external data into a data template @@ -19,21 +20,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojWorkflowV1alpha1DataSource { 'artifactPaths'?: IoArgoprojWorkflowV1alpha1ArtifactPaths; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactPaths", "baseName": "artifactPaths", - "type": "IoArgoprojWorkflowV1alpha1ArtifactPaths", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactPaths" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1DataSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Event.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Event.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Event.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Event.ts index 99844d4..756c6b5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Event.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Event.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1Event { /** @@ -18,21 +19,17 @@ export class IoArgoprojWorkflowV1alpha1Event { */ 'selector': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "selector", "baseName": "selector", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Event.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ExecutorConfig.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ExecutorConfig.ts index 3a22bbc..17ef624 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ExecutorConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ExecutorConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ExecutorConfig holds configurations of an executor container. @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1ExecutorConfig { */ 'serviceAccountName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ExecutorConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifact.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifact.ts index 920cd7d..7bd181e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * GCSArtifact is the location of a GCS artifact @@ -27,33 +28,27 @@ export class IoArgoprojWorkflowV1alpha1GCSArtifact { 'key': string; 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "serviceAccountKeySecret", "baseName": "serviceAccountKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1GCSArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifactRepository.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifactRepository.ts index 85f4fee..5b02640 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GCSArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * GCSArtifactRepository defines the controller configuration for a GCS artifact repository @@ -27,33 +28,27 @@ export class IoArgoprojWorkflowV1alpha1GCSArtifactRepository { 'keyFormat'?: string; 'serviceAccountKeySecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "keyFormat", "baseName": "keyFormat", - "type": "string", - "format": "" + "type": "string" }, { "name": "serviceAccountKeySecret", "baseName": "serviceAccountKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1GCSArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Gauge.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Gauge.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Gauge.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Gauge.ts index 1b57e41..68d6397 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Gauge.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Gauge.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Gauge is a Gauge prometheus metric @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1Gauge { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "realtime", "baseName": "realtime", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Gauge.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GetUserInfoResponse.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GetUserInfoResponse.ts index 1b46710..a7bc486 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GetUserInfoResponse.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1GetUserInfoResponse { 'email'?: string; @@ -22,63 +23,52 @@ export class IoArgoprojWorkflowV1alpha1GetUserInfoResponse { 'serviceAccountNamespace'?: string; 'subject'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "email", "baseName": "email", - "type": "string", - "format": "" + "type": "string" }, { "name": "emailVerified", "baseName": "emailVerified", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "groups", "baseName": "groups", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "issuer", "baseName": "issuer", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "serviceAccountNamespace", "baseName": "serviceAccountNamespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "subject", "baseName": "subject", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1GetUserInfoResponse.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GitArtifact.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GitArtifact.ts index 1078fca..c7b707b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1GitArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1GitArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * GitArtifact is the location of an git artifact @@ -53,81 +54,67 @@ export class IoArgoprojWorkflowV1alpha1GitArtifact { 'sshPrivateKeySecret'?: IoK8sApiCoreV1SecretKeySelector; 'usernameSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "branch", "baseName": "branch", - "type": "string", - "format": "" + "type": "string" }, { "name": "depth", "baseName": "depth", - "type": "number", - "format": "" + "type": "number" }, { "name": "disableSubmodules", "baseName": "disableSubmodules", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "fetch", "baseName": "fetch", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "insecureIgnoreHostKey", "baseName": "insecureIgnoreHostKey", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "passwordSecret", "baseName": "passwordSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "repo", "baseName": "repo", - "type": "string", - "format": "" + "type": "string" }, { "name": "revision", "baseName": "revision", - "type": "string", - "format": "" + "type": "string" }, { "name": "singleBranch", "baseName": "singleBranch", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "sshPrivateKeySecret", "baseName": "sshPrivateKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "usernameSecret", "baseName": "usernameSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1GitArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifact.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifact.ts index 8e36ae9..f809437 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * HDFSArtifact is the location of an HDFS artifact @@ -50,75 +51,62 @@ export class IoArgoprojWorkflowV1alpha1HDFSArtifact { */ 'path': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "addresses", "baseName": "addresses", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "force", "baseName": "force", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "hdfsUser", "baseName": "hdfsUser", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbCCacheSecret", "baseName": "krbCCacheSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbConfigConfigMap", "baseName": "krbConfigConfigMap", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "krbKeytabSecret", "baseName": "krbKeytabSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbRealm", "baseName": "krbRealm", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbServicePrincipalName", "baseName": "krbServicePrincipalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbUsername", "baseName": "krbUsername", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HDFSArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts index 2de0d2e..047ba13 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HDFSArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * HDFSArtifactRepository defines the controller configuration for an HDFS artifact repository @@ -50,75 +51,62 @@ export class IoArgoprojWorkflowV1alpha1HDFSArtifactRepository { */ 'pathFormat'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "addresses", "baseName": "addresses", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "force", "baseName": "force", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "hdfsUser", "baseName": "hdfsUser", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbCCacheSecret", "baseName": "krbCCacheSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbConfigConfigMap", "baseName": "krbConfigConfigMap", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "krbKeytabSecret", "baseName": "krbKeytabSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "krbRealm", "baseName": "krbRealm", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbServicePrincipalName", "baseName": "krbServicePrincipalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "krbUsername", "baseName": "krbUsername", - "type": "string", - "format": "" + "type": "string" }, { "name": "pathFormat", "baseName": "pathFormat", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HDFSArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTP.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTP.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTP.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTP.ts index 145a4be..fa2f10e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTP.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTP.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource'; -import { IoArgoprojWorkflowV1alpha1HTTPHeader } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from './ioArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from './ioArgoprojWorkflowV1alpha1HTTPHeader'; export class IoArgoprojWorkflowV1alpha1HTTP { /** @@ -45,63 +46,52 @@ export class IoArgoprojWorkflowV1alpha1HTTP { */ 'url': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "body", "baseName": "body", - "type": "string", - "format": "" + "type": "string" }, { "name": "bodyFrom", "baseName": "bodyFrom", - "type": "IoArgoprojWorkflowV1alpha1HTTPBodySource", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPBodySource" }, { "name": "headers", "baseName": "headers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "insecureSkipVerify", "baseName": "insecureSkipVerify", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "method", "baseName": "method", - "type": "string", - "format": "" + "type": "string" }, { "name": "successCondition", "baseName": "successCondition", - "type": "string", - "format": "" + "type": "string" }, { "name": "timeoutSeconds", "baseName": "timeoutSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTP.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPArtifact.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPArtifact.ts index 88e0da2..923eee2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1HTTPAuth } from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth'; -import { IoArgoprojWorkflowV1alpha1Header } from '../models/IoArgoprojWorkflowV1alpha1Header'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from './ioArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1Header } from './ioArgoprojWorkflowV1alpha1Header'; /** * HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container @@ -28,33 +29,27 @@ export class IoArgoprojWorkflowV1alpha1HTTPArtifact { */ 'url': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "auth", "baseName": "auth", - "type": "IoArgoprojWorkflowV1alpha1HTTPAuth", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPAuth" }, { "name": "headers", "baseName": "headers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTPArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPAuth.ts similarity index 53% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPAuth.ts index bbf736c..dde043c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPAuth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPAuth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,43 +11,37 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1BasicAuth } from '../models/IoArgoprojWorkflowV1alpha1BasicAuth'; -import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth'; -import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from './ioArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from './ioArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from './ioArgoprojWorkflowV1alpha1OAuth2Auth'; export class IoArgoprojWorkflowV1alpha1HTTPAuth { 'basicAuth'?: IoArgoprojWorkflowV1alpha1BasicAuth; 'clientCert'?: IoArgoprojWorkflowV1alpha1ClientCertAuth; 'oauth2'?: IoArgoprojWorkflowV1alpha1OAuth2Auth; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "basicAuth", "baseName": "basicAuth", - "type": "IoArgoprojWorkflowV1alpha1BasicAuth", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1BasicAuth" }, { "name": "clientCert", "baseName": "clientCert", - "type": "IoArgoprojWorkflowV1alpha1ClientCertAuth", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ClientCertAuth" }, { "name": "oauth2", "baseName": "oauth2", - "type": "IoArgoprojWorkflowV1alpha1OAuth2Auth", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OAuth2Auth" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTPAuth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPBodySource.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPBodySource.ts index ad02c04..f3dac09 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPBodySource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPBodySource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * HTTPBodySource contains the source of the HTTP body. @@ -18,21 +19,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojWorkflowV1alpha1HTTPBodySource { 'bytes'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "bytes", "baseName": "bytes", - "type": "string", - "format": "byte" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTPBodySource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeader.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeader.ts index d821ec6..52b912b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeader.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeader.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from './ioArgoprojWorkflowV1alpha1HTTPHeaderSource'; export class IoArgoprojWorkflowV1alpha1HTTPHeader { 'name': string; 'value'?: string; 'valueFrom'?: IoArgoprojWorkflowV1alpha1HTTPHeaderSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" }, { "name": "valueFrom", "baseName": "valueFrom", - "type": "IoArgoprojWorkflowV1alpha1HTTPHeaderSource", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTPHeaderSource" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTPHeader.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeaderSource.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeaderSource.ts index 107330f..471b2db 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1HTTPHeaderSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; export class IoArgoprojWorkflowV1alpha1HTTPHeaderSource { 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "secretKeyRef", "baseName": "secretKeyRef", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1HTTPHeaderSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Header.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Header.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Header.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Header.ts index e391e67..904212c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Header.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Header.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Header indicate a key-value request header to be used when fetching artifacts over HTTP @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1Header { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Header.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Histogram.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Histogram.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Histogram.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Histogram.ts index 9b65283..b6570db 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Histogram.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Histogram.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Histogram is a Histogram prometheus metric @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1Histogram { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "buckets", "baseName": "buckets", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Histogram.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1InfoResponse.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1InfoResponse.ts index 3904eda..5a560d8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1InfoResponse.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1InfoResponse.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Column } from '../models/IoArgoprojWorkflowV1alpha1Column'; -import { IoArgoprojWorkflowV1alpha1Link } from '../models/IoArgoprojWorkflowV1alpha1Link'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Column } from './ioArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Link } from './ioArgoprojWorkflowV1alpha1Link'; export class IoArgoprojWorkflowV1alpha1InfoResponse { 'columns'?: Array; @@ -21,45 +22,37 @@ export class IoArgoprojWorkflowV1alpha1InfoResponse { 'modals'?: { [key: string]: boolean; }; 'navColor'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "columns", "baseName": "columns", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "links", "baseName": "links", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "managedNamespace", "baseName": "managedNamespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "modals", "baseName": "modals", - "type": "{ [key: string]: boolean; }", - "format": "" + "type": "{ [key: string]: boolean; }" }, { "name": "navColor", "baseName": "navColor", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1InfoResponse.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Inputs.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Inputs.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Inputs.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Inputs.ts index d1a832a..f49c6a9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Inputs.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Inputs.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; -import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from './ioArgoprojWorkflowV1alpha1Parameter'; /** * Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another @@ -27,27 +28,22 @@ export class IoArgoprojWorkflowV1alpha1Inputs { */ 'parameters'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifacts", "baseName": "artifacts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Inputs.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelKeys.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelKeys.ts index fe5a6a0..6ba2548 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelKeys.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelKeys.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * LabelKeys is list of keys @@ -18,21 +19,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojWorkflowV1alpha1LabelKeys { 'items'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LabelKeys.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValueFrom.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValueFrom.ts index 74498aa..ae664a3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValueFrom.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValueFrom.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,26 +11,22 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1LabelValueFrom { 'expression': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LabelValueFrom.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValues.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValues.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValues.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValues.ts index 71a75f7..dcb70ee 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LabelValues.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LabelValues.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Labels is list of workflow labels @@ -18,21 +19,17 @@ import { HttpFile } from '../http/http'; export class IoArgoprojWorkflowV1alpha1LabelValues { 'items'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LabelValues.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LifecycleHook.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LifecycleHook.ts index f2634f8..200adca 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LifecycleHook.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LifecycleHook.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; -import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from './ioArgoprojWorkflowV1alpha1TemplateRef'; export class IoArgoprojWorkflowV1alpha1LifecycleHook { 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; @@ -26,39 +27,32 @@ export class IoArgoprojWorkflowV1alpha1LifecycleHook { 'template'?: string; 'templateRef'?: IoArgoprojWorkflowV1alpha1TemplateRef; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "arguments", "baseName": "arguments", - "type": "IoArgoprojWorkflowV1alpha1Arguments", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Arguments" }, { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "string", - "format": "" + "type": "string" }, { "name": "templateRef", "baseName": "templateRef", - "type": "IoArgoprojWorkflowV1alpha1TemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TemplateRef" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LifecycleHook.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Link.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Link.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Link.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Link.ts index 1b9a2db..671a5ba 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Link.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Link.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * A link to another app. @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1Link { */ 'url': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "scope", "baseName": "scope", - "type": "string", - "format": "" + "type": "string" }, { "name": "url", "baseName": "url", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Link.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts index c75359a..7780ea7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from './ioArgoprojWorkflowV1alpha1CronWorkflow'; export class IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest { 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cronWorkflow", "baseName": "cronWorkflow", - "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LogEntry.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LogEntry.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LogEntry.ts index b0228d6..f532488 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1LogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1LogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1LogEntry { 'content'?: string; 'podName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "content", "baseName": "content", - "type": "string", - "format": "" + "type": "string" }, { "name": "podName", "baseName": "podName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1LogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ManifestFrom.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ManifestFrom.ts index 1392d94..47b43e6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ManifestFrom.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ManifestFrom.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; export class IoArgoprojWorkflowV1alpha1ManifestFrom { 'artifact': IoArgoprojWorkflowV1alpha1Artifact; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifact", "baseName": "artifact", - "type": "IoArgoprojWorkflowV1alpha1Artifact", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Artifact" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ManifestFrom.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MemoizationStatus.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MemoizationStatus.ts index a2ee950..557d090 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MemoizationStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MemoizationStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * MemoizationStatus is the status of this memoized node @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1MemoizationStatus { */ 'key': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cacheName", "baseName": "cacheName", - "type": "string", - "format": "" + "type": "string" }, { "name": "hit", "baseName": "hit", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1MemoizationStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Memoize.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Memoize.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Memoize.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Memoize.ts index 3415cbb..06d06c8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Memoize.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Memoize.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Cache } from '../models/IoArgoprojWorkflowV1alpha1Cache'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Cache } from './ioArgoprojWorkflowV1alpha1Cache'; /** * Memoization enables caching for the Outputs of the template @@ -27,33 +28,27 @@ export class IoArgoprojWorkflowV1alpha1Memoize { */ 'maxAge': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cache", "baseName": "cache", - "type": "IoArgoprojWorkflowV1alpha1Cache", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Cache" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "maxAge", "baseName": "maxAge", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Memoize.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metadata.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metadata.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metadata.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metadata.ts index 13ee38f..532c7cc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metadata.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metadata.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Pod metdata @@ -19,27 +20,22 @@ export class IoArgoprojWorkflowV1alpha1Metadata { 'annotations'?: { [key: string]: string; }; 'labels'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "annotations", "baseName": "annotations", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "labels", "baseName": "labels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Metadata.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MetricLabel.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MetricLabel.ts index 1a823b6..d7122c8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MetricLabel.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MetricLabel.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * MetricLabel is a single label for a prometheus metric @@ -19,27 +20,22 @@ export class IoArgoprojWorkflowV1alpha1MetricLabel { 'key': string; 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1MetricLabel.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metrics.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metrics.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metrics.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metrics.ts index 37836d4..3c4443b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Metrics.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Metrics.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Prometheus } from '../models/IoArgoprojWorkflowV1alpha1Prometheus'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from './ioArgoprojWorkflowV1alpha1Prometheus'; /** * Metrics are a list of metrics emitted from a Workflow/Template @@ -22,21 +23,17 @@ export class IoArgoprojWorkflowV1alpha1Metrics { */ 'prometheus': Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "prometheus", "baseName": "prometheus", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Metrics.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Mutex.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Mutex.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Mutex.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Mutex.ts index dce7d40..6bca43a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Mutex.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Mutex.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Mutex holds Mutex configuration @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1Mutex { */ 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Mutex.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexHolding.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexHolding.ts index e3296f8..4779f9b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexHolding.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexHolding.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * MutexHolding describes the mutex and the object which is holding it. @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1MutexHolding { */ 'mutex'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "holder", "baseName": "holder", - "type": "string", - "format": "" + "type": "string" }, { "name": "mutex", "baseName": "mutex", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1MutexHolding.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexStatus.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexStatus.ts index b0163b7..b0a9d17 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1MutexStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1MutexStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1MutexHolding } from '../models/IoArgoprojWorkflowV1alpha1MutexHolding'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from './ioArgoprojWorkflowV1alpha1MutexHolding'; /** * MutexStatus contains which objects hold mutex locks, and which objects this workflow is waiting on to release locks. @@ -26,27 +27,22 @@ export class IoArgoprojWorkflowV1alpha1MutexStatus { */ 'waiting'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "holding", "baseName": "holding", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "waiting", "baseName": "waiting", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1MutexStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeResult.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeResult.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeResult.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeResult.ts index c3ad6a0..d73e09d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeResult.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeResult.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Outputs } from './ioArgoprojWorkflowV1alpha1Outputs'; export class IoArgoprojWorkflowV1alpha1NodeResult { 'message'?: string; @@ -19,39 +20,32 @@ export class IoArgoprojWorkflowV1alpha1NodeResult { 'phase'?: string; 'progress'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "outputs", "baseName": "outputs", - "type": "IoArgoprojWorkflowV1alpha1Outputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Outputs" }, { "name": "phase", "baseName": "phase", - "type": "string", - "format": "" + "type": "string" }, { "name": "progress", "baseName": "progress", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1NodeResult.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeStatus.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeStatus.ts index 2d88d16..cf4647f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +11,12 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; -import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus'; -import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; -import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; -import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Inputs } from './ioArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from './ioArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from './ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1Outputs } from './ioArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from './ioArgoprojWorkflowV1alpha1TemplateRef'; /** * NodeStatus contains status information about an individual node in the workflow @@ -103,159 +104,132 @@ export class IoArgoprojWorkflowV1alpha1NodeStatus { */ 'type': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "boundaryID", "baseName": "boundaryID", - "type": "string", - "format": "" + "type": "string" }, { "name": "children", "baseName": "children", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "daemoned", "baseName": "daemoned", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "displayName", "baseName": "displayName", - "type": "string", - "format": "" + "type": "string" }, { "name": "estimatedDuration", "baseName": "estimatedDuration", - "type": "number", - "format": "" + "type": "number" }, { "name": "finishedAt", "baseName": "finishedAt", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "hostNodeName", "baseName": "hostNodeName", - "type": "string", - "format": "" + "type": "string" }, { "name": "id", "baseName": "id", - "type": "string", - "format": "" + "type": "string" }, { "name": "inputs", "baseName": "inputs", - "type": "IoArgoprojWorkflowV1alpha1Inputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Inputs" }, { "name": "memoizationStatus", "baseName": "memoizationStatus", - "type": "IoArgoprojWorkflowV1alpha1MemoizationStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1MemoizationStatus" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "outboundNodes", "baseName": "outboundNodes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "outputs", "baseName": "outputs", - "type": "IoArgoprojWorkflowV1alpha1Outputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Outputs" }, { "name": "phase", "baseName": "phase", - "type": "string", - "format": "" + "type": "string" }, { "name": "podIP", "baseName": "podIP", - "type": "string", - "format": "" + "type": "string" }, { "name": "progress", "baseName": "progress", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourcesDuration", "baseName": "resourcesDuration", - "type": "{ [key: string]: number; }", - "format": "int64" + "type": "{ [key: string]: number; }" }, { "name": "startedAt", "baseName": "startedAt", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "synchronizationStatus", "baseName": "synchronizationStatus", - "type": "IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus" }, { "name": "templateName", "baseName": "templateName", - "type": "string", - "format": "" + "type": "string" }, { "name": "templateRef", "baseName": "templateRef", - "type": "IoArgoprojWorkflowV1alpha1TemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TemplateRef" }, { "name": "templateScope", "baseName": "templateScope", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1NodeStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts index 17017f9..6a4afb4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * NodeSynchronizationStatus stores the status of a node @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus { */ 'waiting'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "waiting", "baseName": "waiting", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2Auth.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2Auth.ts index 41cd302..f4bc9d5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2Auth.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2Auth.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from './ioArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * OAuth2Auth holds all information for client authentication via OAuth2 tokens @@ -24,45 +25,37 @@ export class IoArgoprojWorkflowV1alpha1OAuth2Auth { 'scopes'?: Array; 'tokenURLSecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clientIDSecret", "baseName": "clientIDSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "clientSecretSecret", "baseName": "clientSecretSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "endpointParams", "baseName": "endpointParams", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "scopes", "baseName": "scopes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "tokenURLSecret", "baseName": "tokenURLSecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1OAuth2Auth.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts index 2543fe8..c984b06 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OAuth2EndpointParam.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * EndpointParam is for requesting optional fields that should be sent in the oauth request @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1OAuth2EndpointParam { */ 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1OAuth2EndpointParam.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifact.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifact.ts index bd6a014..7861519 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from './ioArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * OSSArtifact is the location of an Alibaba Cloud OSS artifact @@ -42,63 +43,52 @@ export class IoArgoprojWorkflowV1alpha1OSSArtifact { */ 'securityToken'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKeySecret", "baseName": "accessKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "createBucketIfNotPresent", "baseName": "createBucketIfNotPresent", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "lifecycleRule", "baseName": "lifecycleRule", - "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule" }, { "name": "secretKeySecret", "baseName": "secretKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "securityToken", "baseName": "securityToken", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1OSSArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifactRepository.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifactRepository.ts index 2919a7a..6fc539e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from './ioArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * OSSArtifactRepository defines the controller configuration for an OSS artifact repository @@ -42,63 +43,52 @@ export class IoArgoprojWorkflowV1alpha1OSSArtifactRepository { */ 'securityToken'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKeySecret", "baseName": "accessKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "createBucketIfNotPresent", "baseName": "createBucketIfNotPresent", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "keyFormat", "baseName": "keyFormat", - "type": "string", - "format": "" + "type": "string" }, { "name": "lifecycleRule", "baseName": "lifecycleRule", - "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule" }, { "name": "secretKeySecret", "baseName": "secretKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "securityToken", "baseName": "securityToken", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1OSSArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSLifecycleRule.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSLifecycleRule.ts index a69c5d2..7a4295b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1OSSLifecycleRule.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * OSSLifecycleRule specifies how to manage bucket\'s lifecycle @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1OSSLifecycleRule { */ 'markInfrequentAccessAfterDays'?: number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "markDeletionAfterDays", "baseName": "markDeletionAfterDays", - "type": "number", - "format": "" + "type": "number" }, { "name": "markInfrequentAccessAfterDays", "baseName": "markInfrequentAccessAfterDays", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1OSSLifecycleRule.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Outputs.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Outputs.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Outputs.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Outputs.ts index 245e238..b686850 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Outputs.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Outputs.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Artifact } from '../models/IoArgoprojWorkflowV1alpha1Artifact'; -import { IoArgoprojWorkflowV1alpha1Parameter } from '../models/IoArgoprojWorkflowV1alpha1Parameter'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1Parameter } from './ioArgoprojWorkflowV1alpha1Parameter'; /** * Outputs hold parameters, artifacts, and results from a step @@ -35,39 +36,32 @@ export class IoArgoprojWorkflowV1alpha1Outputs { */ 'result'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifacts", "baseName": "artifacts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "exitCode", "baseName": "exitCode", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "result", "baseName": "result", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Outputs.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Parameter.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Parameter.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Parameter.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Parameter.ts index 01e2c01..785c95a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Parameter.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Parameter.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ValueFrom } from '../models/IoArgoprojWorkflowV1alpha1ValueFrom'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from './ioArgoprojWorkflowV1alpha1ValueFrom'; /** * Parameter indicate a passed string parameter to a service template with an optional default value @@ -43,57 +44,47 @@ export class IoArgoprojWorkflowV1alpha1Parameter { 'value'?: string; 'valueFrom'?: IoArgoprojWorkflowV1alpha1ValueFrom; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "_default", "baseName": "default", - "type": "string", - "format": "" + "type": "string" }, { "name": "description", "baseName": "description", - "type": "string", - "format": "" + "type": "string" }, { "name": "_enum", "baseName": "enum", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "globalName", "baseName": "globalName", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" }, { "name": "valueFrom", "baseName": "valueFrom", - "type": "IoArgoprojWorkflowV1alpha1ValueFrom", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ValueFrom" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Parameter.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1PodGC.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1PodGC.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1PodGC.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1PodGC.ts index ae18733..751400f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1PodGC.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1PodGC.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; /** * PodGC describes how to delete completed pods as they complete @@ -23,27 +24,22 @@ export class IoArgoprojWorkflowV1alpha1PodGC { */ 'strategy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "labelSelector", "baseName": "labelSelector", - "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector" }, { "name": "strategy", "baseName": "strategy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1PodGC.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Prometheus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Prometheus.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Prometheus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Prometheus.ts index f743779..ca2d4d4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Prometheus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Prometheus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Counter } from '../models/IoArgoprojWorkflowV1alpha1Counter'; -import { IoArgoprojWorkflowV1alpha1Gauge } from '../models/IoArgoprojWorkflowV1alpha1Gauge'; -import { IoArgoprojWorkflowV1alpha1Histogram } from '../models/IoArgoprojWorkflowV1alpha1Histogram'; -import { IoArgoprojWorkflowV1alpha1MetricLabel } from '../models/IoArgoprojWorkflowV1alpha1MetricLabel'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Counter } from './ioArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1Gauge } from './ioArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1Histogram } from './ioArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from './ioArgoprojWorkflowV1alpha1MetricLabel'; /** * Prometheus is a prometheus metric to be emitted @@ -40,57 +41,47 @@ export class IoArgoprojWorkflowV1alpha1Prometheus { */ 'when'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "counter", "baseName": "counter", - "type": "IoArgoprojWorkflowV1alpha1Counter", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Counter" }, { "name": "gauge", "baseName": "gauge", - "type": "IoArgoprojWorkflowV1alpha1Gauge", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Gauge" }, { "name": "help", "baseName": "help", - "type": "string", - "format": "" + "type": "string" }, { "name": "histogram", "baseName": "histogram", - "type": "IoArgoprojWorkflowV1alpha1Histogram", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Histogram" }, { "name": "labels", "baseName": "labels", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "when", "baseName": "when", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Prometheus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RawArtifact.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RawArtifact.ts index 135c930..787a297 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RawArtifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RawArtifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * RawArtifact allows raw string content to be placed as an artifact in a container @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1RawArtifact { */ 'data': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "data", "baseName": "data", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1RawArtifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResourceTemplate.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResourceTemplate.ts index 284708f..86e8044 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResourceTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResourceTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ManifestFrom } from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from './ioArgoprojWorkflowV1alpha1ManifestFrom'; /** * ResourceTemplate is a template subtype to manipulate kubernetes resources @@ -47,63 +48,52 @@ export class IoArgoprojWorkflowV1alpha1ResourceTemplate { */ 'successCondition'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "action", "baseName": "action", - "type": "string", - "format": "" + "type": "string" }, { "name": "failureCondition", "baseName": "failureCondition", - "type": "string", - "format": "" + "type": "string" }, { "name": "flags", "baseName": "flags", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "manifest", "baseName": "manifest", - "type": "string", - "format": "" + "type": "string" }, { "name": "manifestFrom", "baseName": "manifestFrom", - "type": "IoArgoprojWorkflowV1alpha1ManifestFrom", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ManifestFrom" }, { "name": "mergeStrategy", "baseName": "mergeStrategy", - "type": "string", - "format": "" + "type": "string" }, { "name": "setOwnerReference", "baseName": "setOwnerReference", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "successCondition", "baseName": "successCondition", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ResourceTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts index e619a8a..d66557b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest { 'memoized'?: boolean; @@ -19,45 +20,37 @@ export class IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest { 'parameters'?: Array; 'uid'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "memoized", "baseName": "memoized", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "uid", "baseName": "uid", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryAffinity.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryAffinity.ts index 75adb27..1274f68 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryAffinity.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryAffinity.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * RetryAffinity prevents running steps on the same host. @@ -19,23 +20,19 @@ export class IoArgoprojWorkflowV1alpha1RetryAffinity { /** * RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\". */ - 'nodeAntiAffinity'?: any; + 'nodeAntiAffinity'?: object; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "nodeAntiAffinity", "baseName": "nodeAntiAffinity", - "type": "any", - "format": "" + "type": "object" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1RetryAffinity.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts index 9eacb51..3227d36 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest { 'name'?: string; @@ -20,51 +21,42 @@ export class IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest { 'restartSuccessful'?: boolean; 'uid'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeFieldSelector", "baseName": "nodeFieldSelector", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "restartSuccessful", "baseName": "restartSuccessful", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "uid", "baseName": "uid", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryStrategy.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryStrategy.ts index e3fbaa4..08091ab 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1RetryStrategy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1RetryStrategy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Backoff } from '../models/IoArgoprojWorkflowV1alpha1Backoff'; -import { IoArgoprojWorkflowV1alpha1RetryAffinity } from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Backoff } from './ioArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from './ioArgoprojWorkflowV1alpha1RetryAffinity'; /** * RetryStrategy provides controls on how to retry a workflow step @@ -30,45 +31,37 @@ export class IoArgoprojWorkflowV1alpha1RetryStrategy { */ 'retryPolicy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "affinity", "baseName": "affinity", - "type": "IoArgoprojWorkflowV1alpha1RetryAffinity", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RetryAffinity" }, { "name": "backoff", "baseName": "backoff", - "type": "IoArgoprojWorkflowV1alpha1Backoff", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Backoff" }, { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" }, { "name": "limit", "baseName": "limit", - "type": "string", - "format": "" + "type": "string" }, { "name": "retryPolicy", "baseName": "retryPolicy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1RetryStrategy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3Artifact.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3Artifact.ts index a17509c..1546793 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3Artifact.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3Artifact.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; -import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from './ioArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from './ioArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * S3Artifact is the location of an S3 artifact @@ -52,81 +53,67 @@ export class IoArgoprojWorkflowV1alpha1S3Artifact { */ 'useSDKCreds'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKeySecret", "baseName": "accessKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "createBucketIfNotPresent", "baseName": "createBucketIfNotPresent", - "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions" }, { "name": "encryptionOptions", "baseName": "encryptionOptions", - "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "insecure", "baseName": "insecure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "roleARN", "baseName": "roleARN", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKeySecret", "baseName": "secretKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "useSDKCreds", "baseName": "useSDKCreds", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1S3Artifact.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3ArtifactRepository.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3ArtifactRepository.ts index 3bbea4a..8b8a044 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3ArtifactRepository.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions'; -import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from './ioArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from './ioArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * S3ArtifactRepository defines the controller configuration for an S3 artifact repository @@ -56,87 +57,72 @@ export class IoArgoprojWorkflowV1alpha1S3ArtifactRepository { */ 'useSDKCreds'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessKeySecret", "baseName": "accessKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "bucket", "baseName": "bucket", - "type": "string", - "format": "" + "type": "string" }, { "name": "createBucketIfNotPresent", "baseName": "createBucketIfNotPresent", - "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions" }, { "name": "encryptionOptions", "baseName": "encryptionOptions", - "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1S3EncryptionOptions" }, { "name": "endpoint", "baseName": "endpoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "insecure", "baseName": "insecure", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "keyFormat", "baseName": "keyFormat", - "type": "string", - "format": "" + "type": "string" }, { "name": "keyPrefix", "baseName": "keyPrefix", - "type": "string", - "format": "" + "type": "string" }, { "name": "region", "baseName": "region", - "type": "string", - "format": "" + "type": "string" }, { "name": "roleARN", "baseName": "roleARN", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretKeySecret", "baseName": "secretKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" }, { "name": "useSDKCreds", "baseName": "useSDKCreds", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1S3ArtifactRepository.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3EncryptionOptions.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3EncryptionOptions.ts index b6c9743..a9b3a65 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1S3EncryptionOptions.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * S3EncryptionOptions used to determine encryption options during s3 operations @@ -31,39 +32,32 @@ export class IoArgoprojWorkflowV1alpha1S3EncryptionOptions { 'kmsKeyId'?: string; 'serverSideCustomerKeySecret'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "enableEncryption", "baseName": "enableEncryption", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "kmsEncryptionContext", "baseName": "kmsEncryptionContext", - "type": "string", - "format": "" + "type": "string" }, { "name": "kmsKeyId", "baseName": "kmsKeyId", - "type": "string", - "format": "" + "type": "string" }, { "name": "serverSideCustomerKeySecret", "baseName": "serverSideCustomerKeySecret", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1S3EncryptionOptions.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ScriptTemplate.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ScriptTemplate.ts index 9ee5181..b4a84fa 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ScriptTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ScriptTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; -import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; -import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; -import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; -import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; -import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; -import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; -import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; -import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ContainerPort } from './ioK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1EnvFromSource } from './ioK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from './ioK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1Lifecycle } from './ioK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1Probe } from './ioK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SecurityContext } from './ioK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1VolumeDevice } from './ioK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; /** * ScriptTemplate is a template subtype to enable scripting through code steps @@ -100,153 +101,127 @@ export class IoArgoprojWorkflowV1alpha1ScriptTemplate { */ 'workingDir'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "args", "baseName": "args", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "command", "baseName": "command", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "env", "baseName": "env", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "envFrom", "baseName": "envFrom", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "image", "baseName": "image", - "type": "string", - "format": "" + "type": "string" }, { "name": "imagePullPolicy", "baseName": "imagePullPolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "lifecycle", "baseName": "lifecycle", - "type": "IoK8sApiCoreV1Lifecycle", - "format": "" + "type": "IoK8sApiCoreV1Lifecycle" }, { "name": "livenessProbe", "baseName": "livenessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "ports", "baseName": "ports", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "readinessProbe", "baseName": "readinessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "resources", "baseName": "resources", - "type": "IoK8sApiCoreV1ResourceRequirements", - "format": "" + "type": "IoK8sApiCoreV1ResourceRequirements" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1SecurityContext", - "format": "" + "type": "IoK8sApiCoreV1SecurityContext" }, { "name": "source", "baseName": "source", - "type": "string", - "format": "" + "type": "string" }, { "name": "startupProbe", "baseName": "startupProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "stdin", "baseName": "stdin", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "stdinOnce", "baseName": "stdinOnce", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "terminationMessagePath", "baseName": "terminationMessagePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "terminationMessagePolicy", "baseName": "terminationMessagePolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "tty", "baseName": "tty", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeDevices", "baseName": "volumeDevices", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumeMounts", "baseName": "volumeMounts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "workingDir", "baseName": "workingDir", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ScriptTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreHolding.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreHolding.ts index aefe4e3..fe41a34 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreHolding.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreHolding.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1SemaphoreHolding { /** @@ -22,27 +23,22 @@ export class IoArgoprojWorkflowV1alpha1SemaphoreHolding { */ 'semaphore'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "holders", "baseName": "holders", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "semaphore", "baseName": "semaphore", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SemaphoreHolding.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreRef.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreRef.ts index 58dd6d6..bdeb30a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreRef.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreRef.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; /** * SemaphoreRef is a reference of Semaphore @@ -23,27 +24,22 @@ export class IoArgoprojWorkflowV1alpha1SemaphoreRef { */ 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMapKeyRef", "baseName": "configMapKeyRef", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SemaphoreRef.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreStatus.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreStatus.ts index 8714829..c392176 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SemaphoreStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SemaphoreStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from './ioArgoprojWorkflowV1alpha1SemaphoreHolding'; export class IoArgoprojWorkflowV1alpha1SemaphoreStatus { /** @@ -23,27 +24,22 @@ export class IoArgoprojWorkflowV1alpha1SemaphoreStatus { */ 'waiting'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "holding", "baseName": "holding", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "waiting", "baseName": "waiting", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SemaphoreStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Sequence.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Sequence.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Sequence.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Sequence.ts index e308e07..840cd74 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Sequence.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Sequence.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Sequence expands a workflow step into numeric range @@ -24,39 +25,32 @@ export class IoArgoprojWorkflowV1alpha1Sequence { 'format'?: string; 'start'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "count", "baseName": "count", - "type": "string", - "format": "" + "type": "string" }, { "name": "end", "baseName": "end", - "type": "string", - "format": "" + "type": "string" }, { "name": "format", "baseName": "format", - "type": "string", - "format": "" + "type": "string" }, { "name": "start", "baseName": "start", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Sequence.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Submit.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Submit.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Submit.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Submit.ts index 3c26139..a1d698c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Submit.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Submit.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,43 +11,37 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; -import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; export class IoArgoprojWorkflowV1alpha1Submit { 'arguments'?: IoArgoprojWorkflowV1alpha1Arguments; 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'workflowTemplateRef': IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "arguments", "baseName": "arguments", - "type": "IoArgoprojWorkflowV1alpha1Arguments", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Arguments" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "workflowTemplateRef", "baseName": "workflowTemplateRef", - "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Submit.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SubmitOpts.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SubmitOpts.ts index 9e82066..1507cdc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SubmitOpts.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SubmitOpts.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from './ioK8sApimachineryPkgApisMetaV1OwnerReference'; /** * SubmitOpts are workflow submission options @@ -63,87 +64,72 @@ export class IoArgoprojWorkflowV1alpha1SubmitOpts { */ 'serviceAccount'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "annotations", "baseName": "annotations", - "type": "string", - "format": "" + "type": "string" }, { "name": "dryRun", "baseName": "dryRun", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "entryPoint", "baseName": "entryPoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "generateName", "baseName": "generateName", - "type": "string", - "format": "" + "type": "string" }, { "name": "labels", "baseName": "labels", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "ownerReference", "baseName": "ownerReference", - "type": "IoK8sApimachineryPkgApisMetaV1OwnerReference", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1OwnerReference" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "podPriorityClassName", "baseName": "podPriorityClassName", - "type": "string", - "format": "" + "type": "string" }, { "name": "priority", "baseName": "priority", - "type": "number", - "format": "" + "type": "number" }, { "name": "serverDryRun", "baseName": "serverDryRun", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "serviceAccount", "baseName": "serviceAccount", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SubmitOpts.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SuspendTemplate.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SuspendTemplate.ts index d8dbfe9..8dc552f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SuspendTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SuspendTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1SuspendTemplate { */ 'duration'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "duration", "baseName": "duration", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SuspendTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Synchronization.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Synchronization.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Synchronization.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Synchronization.ts index ffee9d3..ba2be84 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Synchronization.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Synchronization.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Mutex } from '../models/IoArgoprojWorkflowV1alpha1Mutex'; -import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Mutex } from './ioArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from './ioArgoprojWorkflowV1alpha1SemaphoreRef'; /** * Synchronization holds synchronization lock configuration @@ -21,27 +22,22 @@ export class IoArgoprojWorkflowV1alpha1Synchronization { 'mutex'?: IoArgoprojWorkflowV1alpha1Mutex; 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreRef; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "mutex", "baseName": "mutex", - "type": "IoArgoprojWorkflowV1alpha1Mutex", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Mutex" }, { "name": "semaphore", "baseName": "semaphore", - "type": "IoArgoprojWorkflowV1alpha1SemaphoreRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1SemaphoreRef" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Synchronization.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SynchronizationStatus.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SynchronizationStatus.ts index 9b1607a..08a85d5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1SynchronizationStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1SynchronizationStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1MutexStatus } from '../models/IoArgoprojWorkflowV1alpha1MutexStatus'; -import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from './ioArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from './ioArgoprojWorkflowV1alpha1SemaphoreStatus'; /** * SynchronizationStatus stores the status of semaphore and mutex. @@ -21,27 +22,22 @@ export class IoArgoprojWorkflowV1alpha1SynchronizationStatus { 'mutex'?: IoArgoprojWorkflowV1alpha1MutexStatus; 'semaphore'?: IoArgoprojWorkflowV1alpha1SemaphoreStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "mutex", "baseName": "mutex", - "type": "IoArgoprojWorkflowV1alpha1MutexStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1MutexStatus" }, { "name": "semaphore", "baseName": "semaphore", - "type": "IoArgoprojWorkflowV1alpha1SemaphoreStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1SemaphoreStatus" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1SynchronizationStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TTLStrategy.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TTLStrategy.ts index 2ec13d0..3183c4a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TTLStrategy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TTLStrategy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1TTLStrategy { */ 'secondsAfterSuccess'?: number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "secondsAfterCompletion", "baseName": "secondsAfterCompletion", - "type": "number", - "format": "" + "type": "number" }, { "name": "secondsAfterFailure", "baseName": "secondsAfterFailure", - "type": "number", - "format": "" + "type": "number" }, { "name": "secondsAfterSuccess", "baseName": "secondsAfterSuccess", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1TTLStrategy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TarStrategy.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TarStrategy.ts index 6741699..4f1d6b7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TarStrategy.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TarStrategy.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TarStrategy will tar and gzip the file or directory when saving @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1TarStrategy { */ 'compressionLevel'?: number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "compressionLevel", "baseName": "compressionLevel", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1TarStrategy.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Template.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Template.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Template.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Template.ts index ced1f67..39a161b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Template.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Template.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,31 +11,31 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation'; -import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate'; -import { IoArgoprojWorkflowV1alpha1DAGTemplate } from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate'; -import { IoArgoprojWorkflowV1alpha1Data } from '../models/IoArgoprojWorkflowV1alpha1Data'; -import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; -import { IoArgoprojWorkflowV1alpha1HTTP } from '../models/IoArgoprojWorkflowV1alpha1HTTP'; -import { IoArgoprojWorkflowV1alpha1Inputs } from '../models/IoArgoprojWorkflowV1alpha1Inputs'; -import { IoArgoprojWorkflowV1alpha1Memoize } from '../models/IoArgoprojWorkflowV1alpha1Memoize'; -import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; -import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; -import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; -import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate'; -import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; -import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate'; -import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate'; -import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; -import { IoArgoprojWorkflowV1alpha1UserContainer } from '../models/IoArgoprojWorkflowV1alpha1UserContainer'; -import { IoArgoprojWorkflowV1alpha1WorkflowStep } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep'; -import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; -import { IoK8sApiCoreV1Container } from '../models/IoK8sApiCoreV1Container'; -import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; -import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; -import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; -import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from './ioArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from './ioArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from './ioArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from './ioArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from './ioArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1HTTP } from './ioArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1Inputs } from './ioArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1Memoize } from './ioArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from './ioArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1Metrics } from './ioArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Outputs } from './ioArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from './ioArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from './ioArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from './ioArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from './ioArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from './ioArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from './ioArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from './ioArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoK8sApiCoreV1Affinity } from './ioK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1Container } from './ioK8sApiCoreV1Container'; +import { IoK8sApiCoreV1HostAlias } from './ioK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1PodSecurityContext } from './ioK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1Toleration } from './ioK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1Volume } from './ioK8sApiCoreV1Volume'; /** * Template is a reusable and composable unit of execution in a workflow @@ -89,7 +90,7 @@ export class IoArgoprojWorkflowV1alpha1Template { /** * Plugin is an Object with exactly one key */ - 'plugin'?: any; + 'plugin'?: object; /** * PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). */ @@ -137,249 +138,207 @@ export class IoArgoprojWorkflowV1alpha1Template { */ 'volumes'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "activeDeadlineSeconds", "baseName": "activeDeadlineSeconds", - "type": "string", - "format": "" + "type": "string" }, { "name": "affinity", "baseName": "affinity", - "type": "IoK8sApiCoreV1Affinity", - "format": "" + "type": "IoK8sApiCoreV1Affinity" }, { "name": "archiveLocation", "baseName": "archiveLocation", - "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactLocation" }, { "name": "automountServiceAccountToken", "baseName": "automountServiceAccountToken", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "container", "baseName": "container", - "type": "IoK8sApiCoreV1Container", - "format": "" + "type": "IoK8sApiCoreV1Container" }, { "name": "containerSet", "baseName": "containerSet", - "type": "IoArgoprojWorkflowV1alpha1ContainerSetTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ContainerSetTemplate" }, { "name": "daemon", "baseName": "daemon", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "dag", "baseName": "dag", - "type": "IoArgoprojWorkflowV1alpha1DAGTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1DAGTemplate" }, { "name": "data", "baseName": "data", - "type": "IoArgoprojWorkflowV1alpha1Data", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Data" }, { "name": "executor", "baseName": "executor", - "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig" }, { "name": "failFast", "baseName": "failFast", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "hostAliases", "baseName": "hostAliases", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "http", "baseName": "http", - "type": "IoArgoprojWorkflowV1alpha1HTTP", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1HTTP" }, { "name": "initContainers", "baseName": "initContainers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "inputs", "baseName": "inputs", - "type": "IoArgoprojWorkflowV1alpha1Inputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Inputs" }, { "name": "memoize", "baseName": "memoize", - "type": "IoArgoprojWorkflowV1alpha1Memoize", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Memoize" }, { "name": "metadata", "baseName": "metadata", - "type": "IoArgoprojWorkflowV1alpha1Metadata", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metadata" }, { "name": "metrics", "baseName": "metrics", - "type": "IoArgoprojWorkflowV1alpha1Metrics", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metrics" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeSelector", "baseName": "nodeSelector", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "outputs", "baseName": "outputs", - "type": "IoArgoprojWorkflowV1alpha1Outputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Outputs" }, { "name": "parallelism", "baseName": "parallelism", - "type": "number", - "format": "" + "type": "number" }, { "name": "plugin", "baseName": "plugin", - "type": "any", - "format": "" + "type": "object" }, { "name": "podSpecPatch", "baseName": "podSpecPatch", - "type": "string", - "format": "" + "type": "string" }, { "name": "priority", "baseName": "priority", - "type": "number", - "format": "" + "type": "number" }, { "name": "priorityClassName", "baseName": "priorityClassName", - "type": "string", - "format": "" + "type": "string" }, { "name": "resource", "baseName": "resource", - "type": "IoArgoprojWorkflowV1alpha1ResourceTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ResourceTemplate" }, { "name": "retryStrategy", "baseName": "retryStrategy", - "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy" }, { "name": "schedulerName", "baseName": "schedulerName", - "type": "string", - "format": "" + "type": "string" }, { "name": "script", "baseName": "script", - "type": "IoArgoprojWorkflowV1alpha1ScriptTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ScriptTemplate" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1PodSecurityContext", - "format": "" + "type": "IoK8sApiCoreV1PodSecurityContext" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "sidecars", "baseName": "sidecars", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "steps", "baseName": "steps", - "type": "Array>", - "format": "" + "type": "Array>" }, { "name": "suspend", "baseName": "suspend", - "type": "IoArgoprojWorkflowV1alpha1SuspendTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1SuspendTemplate" }, { "name": "synchronization", "baseName": "synchronization", - "type": "IoArgoprojWorkflowV1alpha1Synchronization", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Synchronization" }, { "name": "timeout", "baseName": "timeout", - "type": "string", - "format": "" + "type": "string" }, { "name": "tolerations", "baseName": "tolerations", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumes", "baseName": "volumes", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Template.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TemplateRef.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TemplateRef.ts index 3377b98..8219b3d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TemplateRef.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TemplateRef.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TemplateRef is a reference of template resource. @@ -29,33 +30,27 @@ export class IoArgoprojWorkflowV1alpha1TemplateRef { */ 'template'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clusterScope", "baseName": "clusterScope", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1TemplateRef.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TransformationStep.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TransformationStep.ts index 2cdf89d..9831dcc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1TransformationStep.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1TransformationStep.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1TransformationStep { /** @@ -18,21 +19,17 @@ export class IoArgoprojWorkflowV1alpha1TransformationStep { */ 'expression': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1TransformationStep.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts index c4e9745..c571994 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1CronWorkflow } from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from './ioArgoprojWorkflowV1alpha1CronWorkflow'; export class IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest { 'cronWorkflow'?: IoArgoprojWorkflowV1alpha1CronWorkflow; @@ -21,33 +22,27 @@ export class IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest { 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cronWorkflow", "baseName": "cronWorkflow", - "type": "IoArgoprojWorkflowV1alpha1CronWorkflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1CronWorkflow" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UserContainer.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UserContainer.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UserContainer.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UserContainer.ts index 60305a0..d922851 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1UserContainer.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1UserContainer.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; -import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; -import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; -import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; -import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; -import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; -import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; -import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; -import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ContainerPort } from './ioK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1EnvFromSource } from './ioK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from './ioK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1Lifecycle } from './ioK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1Probe } from './ioK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SecurityContext } from './ioK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1VolumeDevice } from './ioK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; /** * UserContainer is a container specified by a user. @@ -100,153 +101,127 @@ export class IoArgoprojWorkflowV1alpha1UserContainer { */ 'workingDir'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "args", "baseName": "args", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "command", "baseName": "command", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "env", "baseName": "env", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "envFrom", "baseName": "envFrom", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "image", "baseName": "image", - "type": "string", - "format": "" + "type": "string" }, { "name": "imagePullPolicy", "baseName": "imagePullPolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "lifecycle", "baseName": "lifecycle", - "type": "IoK8sApiCoreV1Lifecycle", - "format": "" + "type": "IoK8sApiCoreV1Lifecycle" }, { "name": "livenessProbe", "baseName": "livenessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "mirrorVolumeMounts", "baseName": "mirrorVolumeMounts", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "ports", "baseName": "ports", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "readinessProbe", "baseName": "readinessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "resources", "baseName": "resources", - "type": "IoK8sApiCoreV1ResourceRequirements", - "format": "" + "type": "IoK8sApiCoreV1ResourceRequirements" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1SecurityContext", - "format": "" + "type": "IoK8sApiCoreV1SecurityContext" }, { "name": "startupProbe", "baseName": "startupProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "stdin", "baseName": "stdin", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "stdinOnce", "baseName": "stdinOnce", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "terminationMessagePath", "baseName": "terminationMessagePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "terminationMessagePolicy", "baseName": "terminationMessagePolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "tty", "baseName": "tty", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeDevices", "baseName": "volumeDevices", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumeMounts", "baseName": "volumeMounts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "workingDir", "baseName": "workingDir", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1UserContainer.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ValueFrom.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ValueFrom.ts index 3450874..d692ebe 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1ValueFrom.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1ValueFrom.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; /** * ValueFrom describes a location in which to obtain the value to a parameter @@ -49,71 +50,59 @@ export class IoArgoprojWorkflowV1alpha1ValueFrom { /** * SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc. */ - 'supplied'?: any; + 'supplied'?: object; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMapKeyRef", "baseName": "configMapKeyRef", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "_default", "baseName": "default", - "type": "string", - "format": "" + "type": "string" }, { "name": "event", "baseName": "event", - "type": "string", - "format": "" + "type": "string" }, { "name": "expression", "baseName": "expression", - "type": "string", - "format": "" + "type": "string" }, { "name": "jqFilter", "baseName": "jqFilter", - "type": "string", - "format": "" + "type": "string" }, { "name": "jsonPath", "baseName": "jsonPath", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameter", "baseName": "parameter", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "supplied", "baseName": "supplied", - "type": "any", - "format": "" + "type": "object" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1ValueFrom.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Version.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Version.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Version.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Version.ts index 8e92e05..303cd6c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Version.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Version.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1Version { 'buildDate': string; @@ -22,63 +23,52 @@ export class IoArgoprojWorkflowV1alpha1Version { 'platform': string; 'version': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "buildDate", "baseName": "buildDate", - "type": "string", - "format": "" + "type": "string" }, { "name": "compiler", "baseName": "compiler", - "type": "string", - "format": "" + "type": "string" }, { "name": "gitCommit", "baseName": "gitCommit", - "type": "string", - "format": "" + "type": "string" }, { "name": "gitTag", "baseName": "gitTag", - "type": "string", - "format": "" + "type": "string" }, { "name": "gitTreeState", "baseName": "gitTreeState", - "type": "string", - "format": "" + "type": "string" }, { "name": "goVersion", "baseName": "goVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "platform", "baseName": "platform", - "type": "string", - "format": "" + "type": "string" }, { "name": "version", "baseName": "version", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Version.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1VolumeClaimGC.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1VolumeClaimGC.ts index 966c9a3..21a63a9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1VolumeClaimGC.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1VolumeClaimGC.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * VolumeClaimGC describes how to delete volumes from completed Workflows @@ -21,21 +22,17 @@ export class IoArgoprojWorkflowV1alpha1VolumeClaimGC { */ 'strategy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "strategy", "baseName": "strategy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1VolumeClaimGC.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Workflow.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Workflow.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Workflow.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Workflow.ts index b36176b..cd4f596 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1Workflow.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1Workflow.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; -import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from './ioArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * Workflow is the definition of a workflow resource @@ -31,45 +32,37 @@ export class IoArgoprojWorkflowV1alpha1Workflow { 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; 'status'?: IoArgoprojWorkflowV1alpha1WorkflowStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec" }, { "name": "status", "baseName": "status", - "type": "IoArgoprojWorkflowV1alpha1WorkflowStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowStatus" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1Workflow.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts index 75ef0c1..47d7c1c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowCreateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Workflow } from './ioArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1WorkflowCreateRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; @@ -24,45 +25,37 @@ export class IoArgoprojWorkflowV1alpha1WorkflowCreateRequest { 'serverDryRun'?: boolean; 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "instanceID", "baseName": "instanceID", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "serverDryRun", "baseName": "serverDryRun", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "workflow", "baseName": "workflow", - "type": "IoArgoprojWorkflowV1alpha1Workflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Workflow" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBinding.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBinding.ts index 7cad216..35fa2e7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBinding.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from './ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * WorkflowEventBinding is the definition of an event resource @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowEventBinding { 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec': IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowEventBinding.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts index eff0ebc..ac847d4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from './ioArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; /** * WorkflowEventBindingList is list of event resources @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingList { 'kind'?: string; 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowEventBindingList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts index c3b80f1..0f26656 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Event } from '../models/IoArgoprojWorkflowV1alpha1Event'; -import { IoArgoprojWorkflowV1alpha1Submit } from '../models/IoArgoprojWorkflowV1alpha1Submit'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Event } from './ioArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1Submit } from './ioArgoprojWorkflowV1alpha1Submit'; export class IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec { 'event': IoArgoprojWorkflowV1alpha1Event; 'submit'?: IoArgoprojWorkflowV1alpha1Submit; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "event", "baseName": "event", - "type": "IoArgoprojWorkflowV1alpha1Event", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Event" }, { "name": "submit", "baseName": "submit", - "type": "IoArgoprojWorkflowV1alpha1Submit", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Submit" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts index 2b21e40..5aeb10d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Metadata } from './ioArgoprojWorkflowV1alpha1Metadata'; /** * WorkflowLevelArtifactGC describes how to delete artifacts from completed Workflows - this spec is used on the Workflow level @@ -31,39 +32,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC { */ 'strategy'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "forceFinalizerRemoval", "baseName": "forceFinalizerRemoval", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "podMetadata", "baseName": "podMetadata", - "type": "IoArgoprojWorkflowV1alpha1Metadata", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metadata" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "strategy", "baseName": "strategy", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLintRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLintRequest.ts index 6d4b60f..60af877 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowLintRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Workflow } from './ioArgoprojWorkflowV1alpha1Workflow'; export class IoArgoprojWorkflowV1alpha1WorkflowLintRequest { 'namespace'?: string; 'workflow'?: IoArgoprojWorkflowV1alpha1Workflow; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "workflow", "baseName": "workflow", - "type": "IoArgoprojWorkflowV1alpha1Workflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Workflow" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowLintRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowList.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowList.ts index 5931702..de54ca2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Workflow } from './ioArgoprojWorkflowV1alpha1Workflow'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; /** * WorkflowList is list of Workflow resources @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowList { 'kind'?: string; 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowMetadata.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowMetadata.ts index 5580c18..26a9ca9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowMetadata.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowMetadata.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from './ioArgoprojWorkflowV1alpha1LabelValueFrom'; export class IoArgoprojWorkflowV1alpha1WorkflowMetadata { 'annotations'?: { [key: string]: string; }; 'labels'?: { [key: string]: string; }; 'labelsFrom'?: { [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "annotations", "baseName": "annotations", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "labels", "baseName": "labels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "labelsFrom", "baseName": "labelsFrom", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LabelValueFrom; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowMetadata.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts index 15ca069..2d3cc12 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest { 'memoized'?: boolean; @@ -18,39 +19,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest { 'namespace'?: string; 'parameters'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "memoized", "baseName": "memoized", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts index f633eef..4b9c067 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowResumeRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,40 +11,34 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowResumeRequest { 'name'?: string; 'namespace'?: string; 'nodeFieldSelector'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeFieldSelector", "baseName": "nodeFieldSelector", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts index 1cdbc41..16e395d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowRetryRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowRetryRequest { 'name'?: string; @@ -19,45 +20,37 @@ export class IoArgoprojWorkflowV1alpha1WorkflowRetryRequest { 'parameters'?: Array; 'restartSuccessful'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeFieldSelector", "baseName": "nodeFieldSelector", - "type": "string", - "format": "" + "type": "string" }, { "name": "parameters", "baseName": "parameters", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "restartSuccessful", "baseName": "restartSuccessful", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSetRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSetRequest.ts index 8e3504b..412e986 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSetRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowSetRequest { 'message'?: string; @@ -20,51 +21,42 @@ export class IoArgoprojWorkflowV1alpha1WorkflowSetRequest { 'outputParameters'?: string; 'phase'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeFieldSelector", "baseName": "nodeFieldSelector", - "type": "string", - "format": "" + "type": "string" }, { "name": "outputParameters", "baseName": "outputParameters", - "type": "string", - "format": "" + "type": "string" }, { "name": "phase", "baseName": "phase", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowSetRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSpec.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSpec.ts index 5786821..351cd22 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,31 +11,31 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; -import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; -import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig'; -import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; -import { IoArgoprojWorkflowV1alpha1Metadata } from '../models/IoArgoprojWorkflowV1alpha1Metadata'; -import { IoArgoprojWorkflowV1alpha1Metrics } from '../models/IoArgoprojWorkflowV1alpha1Metrics'; -import { IoArgoprojWorkflowV1alpha1PodGC } from '../models/IoArgoprojWorkflowV1alpha1PodGC'; -import { IoArgoprojWorkflowV1alpha1RetryStrategy } from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy'; -import { IoArgoprojWorkflowV1alpha1Synchronization } from '../models/IoArgoprojWorkflowV1alpha1Synchronization'; -import { IoArgoprojWorkflowV1alpha1TTLStrategy } from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy'; -import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; -import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC'; -import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; -import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata'; -import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef'; -import { IoK8sApiCoreV1Affinity } from '../models/IoK8sApiCoreV1Affinity'; -import { IoK8sApiCoreV1HostAlias } from '../models/IoK8sApiCoreV1HostAlias'; -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { IoK8sApiCoreV1PersistentVolumeClaim } from '../models/IoK8sApiCoreV1PersistentVolumeClaim'; -import { IoK8sApiCoreV1PodDNSConfig } from '../models/IoK8sApiCoreV1PodDNSConfig'; -import { IoK8sApiCoreV1PodSecurityContext } from '../models/IoK8sApiCoreV1PodSecurityContext'; -import { IoK8sApiCoreV1Toleration } from '../models/IoK8sApiCoreV1Toleration'; -import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; -import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from './ioArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from './ioArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Metadata } from './ioArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1Metrics } from './ioArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1PodGC } from './ioArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from './ioArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from './ioArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from './ioArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from './ioArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from './ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from './ioArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoK8sApiCoreV1Affinity } from './ioK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1HostAlias } from './ioK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from './ioK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PodDNSConfig } from './ioK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodSecurityContext } from './ioK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1Toleration } from './ioK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1Volume } from './ioK8sApiCoreV1Volume'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from './ioK8sApiPolicyV1PodDisruptionBudgetSpec'; /** * WorkflowSpec is the specification of a Workflow. @@ -152,267 +153,222 @@ export class IoArgoprojWorkflowV1alpha1WorkflowSpec { 'workflowMetadata'?: IoArgoprojWorkflowV1alpha1WorkflowMetadata; 'workflowTemplateRef'?: IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "activeDeadlineSeconds", "baseName": "activeDeadlineSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "affinity", "baseName": "affinity", - "type": "IoK8sApiCoreV1Affinity", - "format": "" + "type": "IoK8sApiCoreV1Affinity" }, { "name": "archiveLogs", "baseName": "archiveLogs", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "arguments", "baseName": "arguments", - "type": "IoArgoprojWorkflowV1alpha1Arguments", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Arguments" }, { "name": "artifactGC", "baseName": "artifactGC", - "type": "IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC" }, { "name": "artifactRepositoryRef", "baseName": "artifactRepositoryRef", - "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef" }, { "name": "automountServiceAccountToken", "baseName": "automountServiceAccountToken", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "dnsConfig", "baseName": "dnsConfig", - "type": "IoK8sApiCoreV1PodDNSConfig", - "format": "" + "type": "IoK8sApiCoreV1PodDNSConfig" }, { "name": "dnsPolicy", "baseName": "dnsPolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "entrypoint", "baseName": "entrypoint", - "type": "string", - "format": "" + "type": "string" }, { "name": "executor", "baseName": "executor", - "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ExecutorConfig" }, { "name": "hooks", "baseName": "hooks", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }" }, { "name": "hostAliases", "baseName": "hostAliases", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "hostNetwork", "baseName": "hostNetwork", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "imagePullSecrets", "baseName": "imagePullSecrets", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "metrics", "baseName": "metrics", - "type": "IoArgoprojWorkflowV1alpha1Metrics", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metrics" }, { "name": "nodeSelector", "baseName": "nodeSelector", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "onExit", "baseName": "onExit", - "type": "string", - "format": "" + "type": "string" }, { "name": "parallelism", "baseName": "parallelism", - "type": "number", - "format": "" + "type": "number" }, { "name": "podDisruptionBudget", "baseName": "podDisruptionBudget", - "type": "IoK8sApiPolicyV1PodDisruptionBudgetSpec", - "format": "" + "type": "IoK8sApiPolicyV1PodDisruptionBudgetSpec" }, { "name": "podGC", "baseName": "podGC", - "type": "IoArgoprojWorkflowV1alpha1PodGC", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1PodGC" }, { "name": "podMetadata", "baseName": "podMetadata", - "type": "IoArgoprojWorkflowV1alpha1Metadata", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Metadata" }, { "name": "podPriority", "baseName": "podPriority", - "type": "number", - "format": "" + "type": "number" }, { "name": "podPriorityClassName", "baseName": "podPriorityClassName", - "type": "string", - "format": "" + "type": "string" }, { "name": "podSpecPatch", "baseName": "podSpecPatch", - "type": "string", - "format": "" + "type": "string" }, { "name": "priority", "baseName": "priority", - "type": "number", - "format": "" + "type": "number" }, { "name": "retryStrategy", "baseName": "retryStrategy", - "type": "IoArgoprojWorkflowV1alpha1RetryStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1RetryStrategy" }, { "name": "schedulerName", "baseName": "schedulerName", - "type": "string", - "format": "" + "type": "string" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1PodSecurityContext", - "format": "" + "type": "IoK8sApiCoreV1PodSecurityContext" }, { "name": "serviceAccountName", "baseName": "serviceAccountName", - "type": "string", - "format": "" + "type": "string" }, { "name": "shutdown", "baseName": "shutdown", - "type": "string", - "format": "" + "type": "string" }, { "name": "suspend", "baseName": "suspend", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "synchronization", "baseName": "synchronization", - "type": "IoArgoprojWorkflowV1alpha1Synchronization", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Synchronization" }, { "name": "templateDefaults", "baseName": "templateDefaults", - "type": "IoArgoprojWorkflowV1alpha1Template", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Template" }, { "name": "templates", "baseName": "templates", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "tolerations", "baseName": "tolerations", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "ttlStrategy", "baseName": "ttlStrategy", - "type": "IoArgoprojWorkflowV1alpha1TTLStrategy", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TTLStrategy" }, { "name": "volumeClaimGC", "baseName": "volumeClaimGC", - "type": "IoArgoprojWorkflowV1alpha1VolumeClaimGC", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1VolumeClaimGC" }, { "name": "volumeClaimTemplates", "baseName": "volumeClaimTemplates", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumes", "baseName": "volumes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "workflowMetadata", "baseName": "workflowMetadata", - "type": "IoArgoprojWorkflowV1alpha1WorkflowMetadata", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowMetadata" }, { "name": "workflowTemplateRef", "baseName": "workflowTemplateRef", - "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStatus.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStatus.ts index 2daa79f..e1dcd19 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus'; -import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; -import { IoArgoprojWorkflowV1alpha1Condition } from '../models/IoArgoprojWorkflowV1alpha1Condition'; -import { IoArgoprojWorkflowV1alpha1NodeStatus } from '../models/IoArgoprojWorkflowV1alpha1NodeStatus'; -import { IoArgoprojWorkflowV1alpha1Outputs } from '../models/IoArgoprojWorkflowV1alpha1Outputs'; -import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus'; -import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; -import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; -import { IoK8sApiCoreV1Volume } from '../models/IoK8sApiCoreV1Volume'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from './ioArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1Condition } from './ioArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from './ioArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1Outputs } from './ioArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from './ioArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApiCoreV1Volume } from './ioK8sApiCoreV1Volume'; /** * WorkflowStatus contains overall status information about a workflow @@ -83,123 +84,102 @@ export class IoArgoprojWorkflowV1alpha1WorkflowStatus { 'storedWorkflowTemplateSpec'?: IoArgoprojWorkflowV1alpha1WorkflowSpec; 'synchronization'?: IoArgoprojWorkflowV1alpha1SynchronizationStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "artifactGCStatus", "baseName": "artifactGCStatus", - "type": "IoArgoprojWorkflowV1alpha1ArtGCStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtGCStatus" }, { "name": "artifactRepositoryRef", "baseName": "artifactRepositoryRef", - "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus" }, { "name": "compressedNodes", "baseName": "compressedNodes", - "type": "string", - "format": "" + "type": "string" }, { "name": "conditions", "baseName": "conditions", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "estimatedDuration", "baseName": "estimatedDuration", - "type": "number", - "format": "" + "type": "number" }, { "name": "finishedAt", "baseName": "finishedAt", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodes", "baseName": "nodes", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeStatus; }" }, { "name": "offloadNodeStatusVersion", "baseName": "offloadNodeStatusVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "outputs", "baseName": "outputs", - "type": "IoArgoprojWorkflowV1alpha1Outputs", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Outputs" }, { "name": "persistentVolumeClaims", "baseName": "persistentVolumeClaims", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "phase", "baseName": "phase", - "type": "string", - "format": "" + "type": "string" }, { "name": "progress", "baseName": "progress", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourcesDuration", "baseName": "resourcesDuration", - "type": "{ [key: string]: number; }", - "format": "int64" + "type": "{ [key: string]: number; }" }, { "name": "startedAt", "baseName": "startedAt", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "storedTemplates", "baseName": "storedTemplates", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }" }, { "name": "storedWorkflowTemplateSpec", "baseName": "storedWorkflowTemplateSpec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec" }, { "name": "synchronization", "baseName": "synchronization", - "type": "IoArgoprojWorkflowV1alpha1SynchronizationStatus", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1SynchronizationStatus" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStep.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStep.ts index 2685397..e829683 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStep.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStep.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +11,13 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Arguments } from '../models/IoArgoprojWorkflowV1alpha1Arguments'; -import { IoArgoprojWorkflowV1alpha1ContinueOn } from '../models/IoArgoprojWorkflowV1alpha1ContinueOn'; -import { IoArgoprojWorkflowV1alpha1LifecycleHook } from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook'; -import { IoArgoprojWorkflowV1alpha1Sequence } from '../models/IoArgoprojWorkflowV1alpha1Sequence'; -import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; -import { IoArgoprojWorkflowV1alpha1TemplateRef } from '../models/IoArgoprojWorkflowV1alpha1TemplateRef'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from './ioArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from './ioArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Sequence } from './ioArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from './ioArgoprojWorkflowV1alpha1TemplateRef'; /** * WorkflowStep is a reference to a template to execute in a series of step @@ -49,94 +50,79 @@ export class IoArgoprojWorkflowV1alpha1WorkflowStep { /** * WithItems expands a step into multiple parallel steps from the items in the list */ - 'withItems'?: Array; + 'withItems'?: Array; /** * WithParam expands a step into multiple parallel steps from the value in the parameter, which is expected to be a JSON list. */ 'withParam'?: string; 'withSequence'?: IoArgoprojWorkflowV1alpha1Sequence; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "arguments", "baseName": "arguments", - "type": "IoArgoprojWorkflowV1alpha1Arguments", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Arguments" }, { "name": "continueOn", "baseName": "continueOn", - "type": "IoArgoprojWorkflowV1alpha1ContinueOn", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1ContinueOn" }, { "name": "hooks", "baseName": "hooks", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }" }, { "name": "inline", "baseName": "inline", - "type": "IoArgoprojWorkflowV1alpha1Template", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Template" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "onExit", "baseName": "onExit", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "string", - "format": "" + "type": "string" }, { "name": "templateRef", "baseName": "templateRef", - "type": "IoArgoprojWorkflowV1alpha1TemplateRef", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1TemplateRef" }, { "name": "when", "baseName": "when", - "type": "string", - "format": "" + "type": "string" }, { "name": "withItems", "baseName": "withItems", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "withParam", "baseName": "withParam", - "type": "string", - "format": "" + "type": "string" }, { "name": "withSequence", "baseName": "withSequence", - "type": "IoArgoprojWorkflowV1alpha1Sequence", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Sequence" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowStep.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStopRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStopRequest.ts index 40db02a..4907913 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowStopRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowStopRequest { 'message'?: string; @@ -18,39 +19,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowStopRequest { 'namespace'?: string; 'nodeFieldSelector'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodeFieldSelector", "baseName": "nodeFieldSelector", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowStopRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts similarity index 63% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts index b7a679a..e497edd 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1SubmitOpts } from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from './ioArgoprojWorkflowV1alpha1SubmitOpts'; export class IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest { 'namespace'?: string; @@ -19,39 +20,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest { 'resourceName'?: string; 'submitOptions'?: IoArgoprojWorkflowV1alpha1SubmitOpts; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourceKind", "baseName": "resourceKind", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourceName", "baseName": "resourceName", - "type": "string", - "format": "" + "type": "string" }, { "name": "submitOptions", "baseName": "submitOptions", - "type": "IoArgoprojWorkflowV1alpha1SubmitOpts", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1SubmitOpts" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts index 176bead..1bffc74 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest { 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts index df5bb03..147215e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Template } from '../models/IoArgoprojWorkflowV1alpha1Template'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec { 'tasks'?: { [key: string]: IoArgoprojWorkflowV1alpha1Template; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "tasks", "baseName": "tasks", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1Template; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts index 169c0ac..ee9d1d1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,27 +11,23 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1NodeResult } from '../models/IoArgoprojWorkflowV1alpha1NodeResult'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from './ioArgoprojWorkflowV1alpha1NodeResult'; export class IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus { 'nodes'?: { [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "nodes", "baseName": "nodes", - "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }", - "format": "" + "type": "{ [key: string]: IoArgoprojWorkflowV1alpha1NodeResult; }" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplate.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplate.ts index 247fbf2..43ea4e0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * WorkflowTemplate is the definition of a workflow template resource @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowTemplate { 'metadata': IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec': IoArgoprojWorkflowV1alpha1WorkflowSpec; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowSpec" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts index 6fd79f2..e993490 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,42 +11,36 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'namespace'?: string; 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts similarity index 64% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts index b125224..47fb082 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,42 +11,36 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'namespace'?: string; 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateList.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateList.ts index b552475..8234a9a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateList.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; -import { IoK8sApimachineryPkgApisMetaV1ListMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; /** * WorkflowTemplateList is list of WorkflowTemplate resources @@ -29,39 +30,32 @@ export class IoArgoprojWorkflowV1alpha1WorkflowTemplateList { 'kind'?: string; 'metadata': IoK8sApimachineryPkgApisMetaV1ListMeta; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ListMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ListMeta" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplateList.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts index 1047f92..bad24b9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateRef.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * WorkflowTemplateRef is a reference to a WorkflowTemplate resource. @@ -25,27 +26,22 @@ export class IoArgoprojWorkflowV1alpha1WorkflowTemplateRef { */ 'name'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "clusterScope", "baseName": "clusterScope", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplateRef.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts index 217d052..f0e2db9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; export class IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest { /** @@ -21,33 +22,27 @@ export class IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest { 'namespace'?: string; 'template'?: IoArgoprojWorkflowV1alpha1WorkflowTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "template", "baseName": "template", - "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowTemplate" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts index d609248..0138a4f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,33 +11,28 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest { 'name'?: string; 'namespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts index 77ebb2f..fd2641e 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojWorkflowV1alpha1Workflow } from '../models/IoArgoprojWorkflowV1alpha1Workflow'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojWorkflowV1alpha1Workflow } from './ioArgoprojWorkflowV1alpha1Workflow'; export class IoArgoprojWorkflowV1alpha1WorkflowWatchEvent { 'object'?: IoArgoprojWorkflowV1alpha1Workflow; 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "object", "baseName": "object", - "type": "IoArgoprojWorkflowV1alpha1Workflow", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1Workflow" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoArgoprojWorkflowV1alpha1WorkflowWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts similarity index 82% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts index f8b6f61..01230c3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. @@ -33,39 +34,32 @@ export class IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource { */ 'volumeID': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "partition", "baseName": "partition", - "type": "number", - "format": "" + "type": "number" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeID", "baseName": "volumeID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Affinity.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Affinity.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Affinity.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Affinity.ts index 28d18b5..ac51eee 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Affinity.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Affinity.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1NodeAffinity } from '../models/IoK8sApiCoreV1NodeAffinity'; -import { IoK8sApiCoreV1PodAffinity } from '../models/IoK8sApiCoreV1PodAffinity'; -import { IoK8sApiCoreV1PodAntiAffinity } from '../models/IoK8sApiCoreV1PodAntiAffinity'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1NodeAffinity } from './ioK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1PodAffinity } from './ioK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAntiAffinity } from './ioK8sApiCoreV1PodAntiAffinity'; /** * Affinity is a group of affinity scheduling rules. @@ -23,33 +24,27 @@ export class IoK8sApiCoreV1Affinity { 'podAffinity'?: IoK8sApiCoreV1PodAffinity; 'podAntiAffinity'?: IoK8sApiCoreV1PodAntiAffinity; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "nodeAffinity", "baseName": "nodeAffinity", - "type": "IoK8sApiCoreV1NodeAffinity", - "format": "" + "type": "IoK8sApiCoreV1NodeAffinity" }, { "name": "podAffinity", "baseName": "podAffinity", - "type": "IoK8sApiCoreV1PodAffinity", - "format": "" + "type": "IoK8sApiCoreV1PodAffinity" }, { "name": "podAntiAffinity", "baseName": "podAntiAffinity", - "type": "IoK8sApiCoreV1PodAntiAffinity", - "format": "" + "type": "IoK8sApiCoreV1PodAntiAffinity" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Affinity.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureDiskVolumeSource.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureDiskVolumeSource.ts index 42d33af..0281e34 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureDiskVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureDiskVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. @@ -41,51 +42,42 @@ export class IoK8sApiCoreV1AzureDiskVolumeSource { */ 'readOnly'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "cachingMode", "baseName": "cachingMode", - "type": "string", - "format": "" + "type": "string" }, { "name": "diskName", "baseName": "diskName", - "type": "string", - "format": "" + "type": "string" }, { "name": "diskURI", "baseName": "diskURI", - "type": "string", - "format": "" + "type": "string" }, { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1AzureDiskVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureFileVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureFileVolumeSource.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureFileVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureFileVolumeSource.ts index 685a138..85ffa85 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1AzureFileVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1AzureFileVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1AzureFileVolumeSource { */ 'shareName': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretName", "baseName": "secretName", - "type": "string", - "format": "" + "type": "string" }, { "name": "shareName", "baseName": "shareName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1AzureFileVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CSIVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CSIVolumeSource.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CSIVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CSIVolumeSource.ts index 623ba79..22a0511 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CSIVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CSIVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents a source location of a volume to mount, managed by an external CSI driver @@ -35,45 +36,37 @@ export class IoK8sApiCoreV1CSIVolumeSource { */ 'volumeAttributes'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "driver", "baseName": "driver", - "type": "string", - "format": "" + "type": "string" }, { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodePublishSecretRef", "baseName": "nodePublishSecretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeAttributes", "baseName": "volumeAttributes", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1CSIVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Capabilities.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Capabilities.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Capabilities.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Capabilities.ts index c849b12..0a21977 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Capabilities.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Capabilities.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Adds and removes POSIX capabilities from running containers. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1Capabilities { */ 'drop'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "add", "baseName": "add", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "drop", "baseName": "drop", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Capabilities.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CephFSVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CephFSVolumeSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CephFSVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CephFSVolumeSource.ts index 469f9de..99a6c95 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CephFSVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CephFSVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. @@ -39,51 +40,42 @@ export class IoK8sApiCoreV1CephFSVolumeSource { */ 'user'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "monitors", "baseName": "monitors", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretFile", "baseName": "secretFile", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "user", "baseName": "user", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1CephFSVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CinderVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CinderVolumeSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CinderVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CinderVolumeSource.ts index 1410d75..690271f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1CinderVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1CinderVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. @@ -31,39 +32,32 @@ export class IoK8sApiCoreV1CinderVolumeSource { */ 'volumeID': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "volumeID", "baseName": "volumeID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1CinderVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapEnvSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapEnvSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapEnvSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapEnvSource.ts index 85873b5..d842f20 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapEnvSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapEnvSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap\'s Data field will represent the key-value pairs as environment variables. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1ConfigMapEnvSource { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ConfigMapEnvSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapKeySelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapKeySelector.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapKeySelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapKeySelector.ts index b41427e..ce033f1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapKeySelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapKeySelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Selects a key from a ConfigMap. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1ConfigMapKeySelector { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ConfigMapKeySelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapProjection.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapProjection.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapProjection.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapProjection.ts index 9e7124f..92da431 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapProjection.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapProjection.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1KeyToPath } from './ioK8sApiCoreV1KeyToPath'; /** * Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. @@ -30,33 +31,27 @@ export class IoK8sApiCoreV1ConfigMapProjection { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ConfigMapProjection.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapVolumeSource.ts similarity index 80% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapVolumeSource.ts index 39f8a4c..f55d47f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ConfigMapVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ConfigMapVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1KeyToPath } from './ioK8sApiCoreV1KeyToPath'; /** * Adapts a ConfigMap into a volume. The contents of the target ConfigMap\'s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. @@ -34,39 +35,32 @@ export class IoK8sApiCoreV1ConfigMapVolumeSource { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "defaultMode", "baseName": "defaultMode", - "type": "number", - "format": "" + "type": "number" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ConfigMapVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Container.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Container.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Container.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Container.ts index d6107a9..2189ab1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Container.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Container.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +11,16 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ContainerPort } from '../models/IoK8sApiCoreV1ContainerPort'; -import { IoK8sApiCoreV1EnvFromSource } from '../models/IoK8sApiCoreV1EnvFromSource'; -import { IoK8sApiCoreV1EnvVar } from '../models/IoK8sApiCoreV1EnvVar'; -import { IoK8sApiCoreV1Lifecycle } from '../models/IoK8sApiCoreV1Lifecycle'; -import { IoK8sApiCoreV1Probe } from '../models/IoK8sApiCoreV1Probe'; -import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; -import { IoK8sApiCoreV1SecurityContext } from '../models/IoK8sApiCoreV1SecurityContext'; -import { IoK8sApiCoreV1VolumeDevice } from '../models/IoK8sApiCoreV1VolumeDevice'; -import { IoK8sApiCoreV1VolumeMount } from '../models/IoK8sApiCoreV1VolumeMount'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ContainerPort } from './ioK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1EnvFromSource } from './ioK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from './ioK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1Lifecycle } from './ioK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1Probe } from './ioK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SecurityContext } from './ioK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1VolumeDevice } from './ioK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; /** * A single application container that you want to run within a pod. @@ -48,7 +49,7 @@ export class IoK8sApiCoreV1Container { /** * 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 Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn\'t present on disk. Container will fail if the image isn\'t present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn\'t present */ - 'imagePullPolicy'?: IoK8sApiCoreV1ContainerImagePullPolicyEnum; + 'imagePullPolicy'?: IoK8sApiCoreV1Container.ImagePullPolicyEnum; 'lifecycle'?: IoK8sApiCoreV1Lifecycle; 'livenessProbe'?: IoK8sApiCoreV1Probe; /** @@ -78,7 +79,7 @@ export class IoK8sApiCoreV1Container { /** * 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. Possible enum values: - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents. - `\"File\"` is the default behavior and will set the container status message to the contents of the container\'s terminationMessagePath when the container exits. */ - 'terminationMessagePolicy'?: IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum; + 'terminationMessagePolicy'?: IoK8sApiCoreV1Container.TerminationMessagePolicyEnum; /** * Whether this container should allocate a TTY for itself, also requires \'stdin\' to be true. Default is false. */ @@ -96,151 +97,133 @@ export class IoK8sApiCoreV1Container { */ 'workingDir'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "args", "baseName": "args", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "command", "baseName": "command", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "env", "baseName": "env", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "envFrom", "baseName": "envFrom", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "image", "baseName": "image", - "type": "string", - "format": "" + "type": "string" }, { "name": "imagePullPolicy", "baseName": "imagePullPolicy", - "type": "IoK8sApiCoreV1ContainerImagePullPolicyEnum", - "format": "" + "type": "IoK8sApiCoreV1Container.ImagePullPolicyEnum" }, { "name": "lifecycle", "baseName": "lifecycle", - "type": "IoK8sApiCoreV1Lifecycle", - "format": "" + "type": "IoK8sApiCoreV1Lifecycle" }, { "name": "livenessProbe", "baseName": "livenessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "ports", "baseName": "ports", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "readinessProbe", "baseName": "readinessProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "resources", "baseName": "resources", - "type": "IoK8sApiCoreV1ResourceRequirements", - "format": "" + "type": "IoK8sApiCoreV1ResourceRequirements" }, { "name": "securityContext", "baseName": "securityContext", - "type": "IoK8sApiCoreV1SecurityContext", - "format": "" + "type": "IoK8sApiCoreV1SecurityContext" }, { "name": "startupProbe", "baseName": "startupProbe", - "type": "IoK8sApiCoreV1Probe", - "format": "" + "type": "IoK8sApiCoreV1Probe" }, { "name": "stdin", "baseName": "stdin", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "stdinOnce", "baseName": "stdinOnce", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "terminationMessagePath", "baseName": "terminationMessagePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "terminationMessagePolicy", "baseName": "terminationMessagePolicy", - "type": "IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum", - "format": "" + "type": "IoK8sApiCoreV1Container.TerminationMessagePolicyEnum" }, { "name": "tty", "baseName": "tty", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeDevices", "baseName": "volumeDevices", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "volumeMounts", "baseName": "volumeMounts", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "workingDir", "baseName": "workingDir", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Container.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1ContainerImagePullPolicyEnum = "Always" | "IfNotPresent" | "Never" ; -export type IoK8sApiCoreV1ContainerTerminationMessagePolicyEnum = "FallbackToLogsOnError" | "File" ; - +export namespace IoK8sApiCoreV1Container { + export enum ImagePullPolicyEnum { + Always = 'Always', + IfNotPresent = 'IfNotPresent', + Never = 'Never' + } + export enum TerminationMessagePolicyEnum { + FallbackToLogsOnError = 'FallbackToLogsOnError', + File = 'File' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ContainerPort.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ContainerPort.ts index 62592e6..6e6afa5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ContainerPort.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ContainerPort.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ContainerPort represents a network port in a single container. @@ -35,50 +36,46 @@ export class IoK8sApiCoreV1ContainerPort { /** * Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. */ - 'protocol'?: IoK8sApiCoreV1ContainerPortProtocolEnum; + 'protocol'?: IoK8sApiCoreV1ContainerPort.ProtocolEnum; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "containerPort", "baseName": "containerPort", - "type": "number", - "format": "" + "type": "number" }, { "name": "hostIP", "baseName": "hostIP", - "type": "string", - "format": "" + "type": "string" }, { "name": "hostPort", "baseName": "hostPort", - "type": "number", - "format": "" + "type": "number" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "protocol", "baseName": "protocol", - "type": "IoK8sApiCoreV1ContainerPortProtocolEnum", - "format": "" + "type": "IoK8sApiCoreV1ContainerPort.ProtocolEnum" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ContainerPort.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1ContainerPortProtocolEnum = "SCTP" | "TCP" | "UDP" ; - +export namespace IoK8sApiCoreV1ContainerPort { + export enum ProtocolEnum { + Sctp = 'SCTP', + Tcp = 'TCP', + Udp = 'UDP' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIProjection.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIProjection.ts index 495297a..4f492e2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIProjection.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIProjection.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from './ioK8sApiCoreV1DownwardAPIVolumeFile'; /** * Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. @@ -22,21 +23,17 @@ export class IoK8sApiCoreV1DownwardAPIProjection { */ 'items'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1DownwardAPIProjection.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeFile.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeFile.ts index 2201927..76f29b8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeFile.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeFile.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; -import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ObjectFieldSelector } from './ioK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ResourceFieldSelector } from './ioK8sApiCoreV1ResourceFieldSelector'; /** * DownwardAPIVolumeFile represents information to create the file containing the pod field @@ -29,39 +30,32 @@ export class IoK8sApiCoreV1DownwardAPIVolumeFile { 'path': string; 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fieldRef", "baseName": "fieldRef", - "type": "IoK8sApiCoreV1ObjectFieldSelector", - "format": "" + "type": "IoK8sApiCoreV1ObjectFieldSelector" }, { "name": "mode", "baseName": "mode", - "type": "number", - "format": "" + "type": "number" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourceFieldRef", "baseName": "resourceFieldRef", - "type": "IoK8sApiCoreV1ResourceFieldSelector", - "format": "" + "type": "IoK8sApiCoreV1ResourceFieldSelector" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1DownwardAPIVolumeFile.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeSource.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeSource.ts index f735865..0e0a779 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1DownwardAPIVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1DownwardAPIVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1DownwardAPIVolumeFile } from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from './ioK8sApiCoreV1DownwardAPIVolumeFile'; /** * DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. @@ -26,27 +27,22 @@ export class IoK8sApiCoreV1DownwardAPIVolumeSource { */ 'items'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "defaultMode", "baseName": "defaultMode", - "type": "number", - "format": "" + "type": "number" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1DownwardAPIVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EmptyDirVolumeSource.ts similarity index 90% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EmptyDirVolumeSource.ts index fc655a1..c3d943c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EmptyDirVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EmptyDirVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1EmptyDirVolumeSource { */ 'sizeLimit'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "medium", "baseName": "medium", - "type": "string", - "format": "" + "type": "string" }, { "name": "sizeLimit", "baseName": "sizeLimit", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EmptyDirVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvFromSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvFromSource.ts similarity index 62% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvFromSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvFromSource.ts index f091324..234fe4d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvFromSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvFromSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapEnvSource } from '../models/IoK8sApiCoreV1ConfigMapEnvSource'; -import { IoK8sApiCoreV1SecretEnvSource } from '../models/IoK8sApiCoreV1SecretEnvSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from './ioK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1SecretEnvSource } from './ioK8sApiCoreV1SecretEnvSource'; /** * EnvFromSource represents the source of a set of ConfigMaps @@ -25,33 +26,27 @@ export class IoK8sApiCoreV1EnvFromSource { 'prefix'?: string; 'secretRef'?: IoK8sApiCoreV1SecretEnvSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMapRef", "baseName": "configMapRef", - "type": "IoK8sApiCoreV1ConfigMapEnvSource", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapEnvSource" }, { "name": "prefix", "baseName": "prefix", - "type": "string", - "format": "" + "type": "string" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1SecretEnvSource", - "format": "" + "type": "IoK8sApiCoreV1SecretEnvSource" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EnvFromSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVar.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVar.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVar.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVar.ts index cb140dd..f86a3f6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVar.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVar.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1EnvVarSource } from '../models/IoK8sApiCoreV1EnvVarSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1EnvVarSource } from './ioK8sApiCoreV1EnvVarSource'; /** * EnvVar represents an environment variable present in a Container. @@ -27,33 +28,27 @@ export class IoK8sApiCoreV1EnvVar { 'value'?: string; 'valueFrom'?: IoK8sApiCoreV1EnvVarSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" }, { "name": "valueFrom", "baseName": "valueFrom", - "type": "IoK8sApiCoreV1EnvVarSource", - "format": "" + "type": "IoK8sApiCoreV1EnvVarSource" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EnvVar.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVarSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVarSource.ts similarity index 55% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVarSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVarSource.ts index 7e10581..c78aab3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EnvVarSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EnvVarSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapKeySelector } from '../models/IoK8sApiCoreV1ConfigMapKeySelector'; -import { IoK8sApiCoreV1ObjectFieldSelector } from '../models/IoK8sApiCoreV1ObjectFieldSelector'; -import { IoK8sApiCoreV1ResourceFieldSelector } from '../models/IoK8sApiCoreV1ResourceFieldSelector'; -import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ObjectFieldSelector } from './ioK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ResourceFieldSelector } from './ioK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; /** * EnvVarSource represents a source for the value of an EnvVar. @@ -25,39 +26,32 @@ export class IoK8sApiCoreV1EnvVarSource { 'resourceFieldRef'?: IoK8sApiCoreV1ResourceFieldSelector; 'secretKeyRef'?: IoK8sApiCoreV1SecretKeySelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMapKeyRef", "baseName": "configMapKeyRef", - "type": "IoK8sApiCoreV1ConfigMapKeySelector", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapKeySelector" }, { "name": "fieldRef", "baseName": "fieldRef", - "type": "IoK8sApiCoreV1ObjectFieldSelector", - "format": "" + "type": "IoK8sApiCoreV1ObjectFieldSelector" }, { "name": "resourceFieldRef", "baseName": "resourceFieldRef", - "type": "IoK8sApiCoreV1ResourceFieldSelector", - "format": "" + "type": "IoK8sApiCoreV1ResourceFieldSelector" }, { "name": "secretKeyRef", "baseName": "secretKeyRef", - "type": "IoK8sApiCoreV1SecretKeySelector", - "format": "" + "type": "IoK8sApiCoreV1SecretKeySelector" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EnvVarSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EphemeralVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EphemeralVolumeSource.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EphemeralVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EphemeralVolumeSource.ts index 2304e0d..33550b7 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EphemeralVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EphemeralVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from './ioK8sApiCoreV1PersistentVolumeClaimTemplate'; /** * Represents an ephemeral volume that is handled by a normal storage driver. @@ -19,21 +20,17 @@ import { HttpFile } from '../http/http'; export class IoK8sApiCoreV1EphemeralVolumeSource { 'volumeClaimTemplate'?: IoK8sApiCoreV1PersistentVolumeClaimTemplate; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "volumeClaimTemplate", "baseName": "volumeClaimTemplate", - "type": "IoK8sApiCoreV1PersistentVolumeClaimTemplate", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimTemplate" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EphemeralVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Event.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Event.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Event.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Event.ts index 2f393f7..3b93303 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Event.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Event.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1EventSeries } from '../models/IoK8sApiCoreV1EventSeries'; -import { IoK8sApiCoreV1EventSource } from '../models/IoK8sApiCoreV1EventSource'; -import { IoK8sApiCoreV1ObjectReference } from '../models/IoK8sApiCoreV1ObjectReference'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1EventSeries } from './ioK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from './ioK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ObjectReference } from './ioK8sApiCoreV1ObjectReference'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. @@ -74,117 +75,97 @@ export class IoK8sApiCoreV1Event { */ 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "action", "baseName": "action", - "type": "string", - "format": "" + "type": "string" }, { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "count", "baseName": "count", - "type": "number", - "format": "" + "type": "number" }, { "name": "eventTime", "baseName": "eventTime", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "firstTimestamp", "baseName": "firstTimestamp", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "involvedObject", "baseName": "involvedObject", - "type": "IoK8sApiCoreV1ObjectReference", - "format": "" + "type": "IoK8sApiCoreV1ObjectReference" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "lastTimestamp", "baseName": "lastTimestamp", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "reason", "baseName": "reason", - "type": "string", - "format": "" + "type": "string" }, { "name": "related", "baseName": "related", - "type": "IoK8sApiCoreV1ObjectReference", - "format": "" + "type": "IoK8sApiCoreV1ObjectReference" }, { "name": "reportingComponent", "baseName": "reportingComponent", - "type": "string", - "format": "" + "type": "string" }, { "name": "reportingInstance", "baseName": "reportingInstance", - "type": "string", - "format": "" + "type": "string" }, { "name": "series", "baseName": "series", - "type": "IoK8sApiCoreV1EventSeries", - "format": "" + "type": "IoK8sApiCoreV1EventSeries" }, { "name": "source", "baseName": "source", - "type": "IoK8sApiCoreV1EventSource", - "format": "" + "type": "IoK8sApiCoreV1EventSource" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Event.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSeries.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSeries.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSeries.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSeries.ts index d874301..3b34ff3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSeries.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSeries.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1EventSeries { */ 'lastObservedTime'?: Date; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "count", "baseName": "count", - "type": "number", - "format": "" + "type": "number" }, { "name": "lastObservedTime", "baseName": "lastObservedTime", - "type": "Date", - "format": "date-time" + "type": "Date" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EventSeries.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSource.ts similarity index 70% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSource.ts index f39eefa..1409b6c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1EventSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1EventSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * EventSource contains information for an event. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1EventSource { */ 'host'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "component", "baseName": "component", - "type": "string", - "format": "" + "type": "string" }, { "name": "host", "baseName": "host", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1EventSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ExecAction.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ExecAction.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ExecAction.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ExecAction.ts index cde17e7..ce43787 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ExecAction.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ExecAction.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ExecAction describes a \"run in container\" action. @@ -21,21 +22,17 @@ export class IoK8sApiCoreV1ExecAction { */ 'command'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "command", "baseName": "command", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ExecAction.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FCVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FCVolumeSource.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FCVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FCVolumeSource.ts index 7a8076b..8043185 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FCVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FCVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. @@ -37,45 +38,37 @@ export class IoK8sApiCoreV1FCVolumeSource { */ 'wwids'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "lun", "baseName": "lun", - "type": "number", - "format": "" + "type": "number" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "targetWWNs", "baseName": "targetWWNs", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "wwids", "baseName": "wwids", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1FCVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlexVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlexVolumeSource.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlexVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlexVolumeSource.ts index 9150a07..1122255 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlexVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlexVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. @@ -35,45 +36,37 @@ export class IoK8sApiCoreV1FlexVolumeSource { 'readOnly'?: boolean; 'secretRef'?: IoK8sApiCoreV1LocalObjectReference; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "driver", "baseName": "driver", - "type": "string", - "format": "" + "type": "string" }, { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "options", "baseName": "options", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1FlexVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlockerVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlockerVolumeSource.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlockerVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlockerVolumeSource.ts index fb64093..cc9cb83 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1FlockerVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1FlockerVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1FlockerVolumeSource { */ 'datasetUUID'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "datasetName", "baseName": "datasetName", - "type": "string", - "format": "" + "type": "string" }, { "name": "datasetUUID", "baseName": "datasetUUID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1FlockerVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GCEPersistentDiskVolumeSource.ts similarity index 82% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GCEPersistentDiskVolumeSource.ts index b426c49..dd1c97d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GCEPersistentDiskVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. @@ -33,39 +34,32 @@ export class IoK8sApiCoreV1GCEPersistentDiskVolumeSource { */ 'readOnly'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "partition", "baseName": "partition", - "type": "number", - "format": "" + "type": "number" }, { "name": "pdName", "baseName": "pdName", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1GCEPersistentDiskVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GRPCAction.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GRPCAction.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GRPCAction.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GRPCAction.ts index 7580110..11a8b66 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GRPCAction.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GRPCAction.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class IoK8sApiCoreV1GRPCAction { /** @@ -22,27 +23,22 @@ export class IoK8sApiCoreV1GRPCAction { */ 'service'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "port", "baseName": "port", - "type": "number", - "format": "" + "type": "number" }, { "name": "service", "baseName": "service", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1GRPCAction.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GitRepoVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GitRepoVolumeSource.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GitRepoVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GitRepoVolumeSource.ts index b64f904..5fa97c8 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GitRepoVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GitRepoVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod\'s container. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1GitRepoVolumeSource { */ 'revision'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "directory", "baseName": "directory", - "type": "string", - "format": "" + "type": "string" }, { "name": "repository", "baseName": "repository", - "type": "string", - "format": "" + "type": "string" }, { "name": "revision", "baseName": "revision", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1GitRepoVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GlusterfsVolumeSource.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GlusterfsVolumeSource.ts index 7fd67ca..1689cca 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1GlusterfsVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1GlusterfsVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1GlusterfsVolumeSource { */ 'readOnly'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "endpoints", "baseName": "endpoints", - "type": "string", - "format": "" + "type": "string" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1GlusterfsVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPGetAction.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPGetAction.ts similarity index 66% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPGetAction.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPGetAction.ts index e5296e1..97182c1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPGetAction.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPGetAction.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1HTTPHeader } from '../models/IoK8sApiCoreV1HTTPHeader'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1HTTPHeader } from './ioK8sApiCoreV1HTTPHeader'; /** * HTTPGetAction describes an action based on HTTP Get requests. @@ -33,50 +34,45 @@ export class IoK8sApiCoreV1HTTPGetAction { /** * Scheme to use for connecting to the host. Defaults to HTTP. Possible enum values: - `\"HTTP\"` means that the scheme used will be http:// - `\"HTTPS\"` means that the scheme used will be https:// */ - 'scheme'?: IoK8sApiCoreV1HTTPGetActionSchemeEnum; + 'scheme'?: IoK8sApiCoreV1HTTPGetAction.SchemeEnum; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "host", "baseName": "host", - "type": "string", - "format": "" + "type": "string" }, { "name": "httpHeaders", "baseName": "httpHeaders", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "port", "baseName": "port", - "type": "string", - "format": "" + "type": "string" }, { "name": "scheme", "baseName": "scheme", - "type": "IoK8sApiCoreV1HTTPGetActionSchemeEnum", - "format": "" + "type": "IoK8sApiCoreV1HTTPGetAction.SchemeEnum" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1HTTPGetAction.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1HTTPGetActionSchemeEnum = "HTTP" | "HTTPS" ; - +export namespace IoK8sApiCoreV1HTTPGetAction { + export enum SchemeEnum { + Http = 'HTTP', + Https = 'HTTPS' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPHeader.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPHeader.ts index 4763a0f..d365721 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HTTPHeader.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HTTPHeader.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * HTTPHeader describes a custom header to be used in HTTP probes @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1HTTPHeader { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1HTTPHeader.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostAlias.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostAlias.ts similarity index 71% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostAlias.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostAlias.ts index 46da5a5..687ae23 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostAlias.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostAlias.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod\'s hosts file. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1HostAlias { */ 'ip'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "hostnames", "baseName": "hostnames", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "ip", "baseName": "ip", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1HostAlias.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostPathVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostPathVolumeSource.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostPathVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostPathVolumeSource.ts index 17f6cd0..dc630f1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1HostPathVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1HostPathVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1HostPathVolumeSource { */ 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1HostPathVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ISCSIVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ISCSIVolumeSource.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ISCSIVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ISCSIVolumeSource.ts index 52e4735..64ca81f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ISCSIVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ISCSIVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. @@ -59,81 +60,67 @@ export class IoK8sApiCoreV1ISCSIVolumeSource { */ 'targetPortal': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "chapAuthDiscovery", "baseName": "chapAuthDiscovery", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "chapAuthSession", "baseName": "chapAuthSession", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "initiatorName", "baseName": "initiatorName", - "type": "string", - "format": "" + "type": "string" }, { "name": "iqn", "baseName": "iqn", - "type": "string", - "format": "" + "type": "string" }, { "name": "iscsiInterface", "baseName": "iscsiInterface", - "type": "string", - "format": "" + "type": "string" }, { "name": "lun", "baseName": "lun", - "type": "number", - "format": "" + "type": "number" }, { "name": "portals", "baseName": "portals", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "targetPortal", "baseName": "targetPortal", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ISCSIVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1KeyToPath.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1KeyToPath.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1KeyToPath.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1KeyToPath.ts index 89e23bf..f1a8ab5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1KeyToPath.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1KeyToPath.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Maps a string key to a path within a volume. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1KeyToPath { */ 'path': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "mode", "baseName": "mode", - "type": "number", - "format": "" + "type": "number" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1KeyToPath.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Lifecycle.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Lifecycle.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Lifecycle.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Lifecycle.ts index 000f063..c444b5f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Lifecycle.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Lifecycle.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LifecycleHandler } from '../models/IoK8sApiCoreV1LifecycleHandler'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LifecycleHandler } from './ioK8sApiCoreV1LifecycleHandler'; /** * Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. @@ -20,27 +21,22 @@ export class IoK8sApiCoreV1Lifecycle { 'postStart'?: IoK8sApiCoreV1LifecycleHandler; 'preStop'?: IoK8sApiCoreV1LifecycleHandler; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "postStart", "baseName": "postStart", - "type": "IoK8sApiCoreV1LifecycleHandler", - "format": "" + "type": "IoK8sApiCoreV1LifecycleHandler" }, { "name": "preStop", "baseName": "preStop", - "type": "IoK8sApiCoreV1LifecycleHandler", - "format": "" + "type": "IoK8sApiCoreV1LifecycleHandler" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Lifecycle.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LifecycleHandler.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LifecycleHandler.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LifecycleHandler.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LifecycleHandler.ts index aee4139..1a746d1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LifecycleHandler.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LifecycleHandler.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; -import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; -import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ExecAction } from './ioK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1HTTPGetAction } from './ioK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1TCPSocketAction } from './ioK8sApiCoreV1TCPSocketAction'; /** * LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. @@ -23,33 +24,27 @@ export class IoK8sApiCoreV1LifecycleHandler { 'httpGet'?: IoK8sApiCoreV1HTTPGetAction; 'tcpSocket'?: IoK8sApiCoreV1TCPSocketAction; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "exec", "baseName": "exec", - "type": "IoK8sApiCoreV1ExecAction", - "format": "" + "type": "IoK8sApiCoreV1ExecAction" }, { "name": "httpGet", "baseName": "httpGet", - "type": "IoK8sApiCoreV1HTTPGetAction", - "format": "" + "type": "IoK8sApiCoreV1HTTPGetAction" }, { "name": "tcpSocket", "baseName": "tcpSocket", - "type": "IoK8sApiCoreV1TCPSocketAction", - "format": "" + "type": "IoK8sApiCoreV1TCPSocketAction" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1LifecycleHandler.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LocalObjectReference.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LocalObjectReference.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LocalObjectReference.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LocalObjectReference.ts index 4458a9a..f0e9806 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1LocalObjectReference.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1LocalObjectReference.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. @@ -21,21 +22,17 @@ export class IoK8sApiCoreV1LocalObjectReference { */ 'name'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1LocalObjectReference.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NFSVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NFSVolumeSource.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NFSVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NFSVolumeSource.ts index e335e13..04676bd 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NFSVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NFSVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1NFSVolumeSource { */ 'server': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "server", "baseName": "server", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1NFSVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeAffinity.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeAffinity.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeAffinity.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeAffinity.ts index b06802d..3bd37b5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeAffinity.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeAffinity.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1NodeSelector } from '../models/IoK8sApiCoreV1NodeSelector'; -import { IoK8sApiCoreV1PreferredSchedulingTerm } from '../models/IoK8sApiCoreV1PreferredSchedulingTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1NodeSelector } from './ioK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from './ioK8sApiCoreV1PreferredSchedulingTerm'; /** * Node affinity is a group of node affinity scheduling rules. @@ -24,27 +25,22 @@ export class IoK8sApiCoreV1NodeAffinity { 'preferredDuringSchedulingIgnoredDuringExecution'?: Array; 'requiredDuringSchedulingIgnoredDuringExecution'?: IoK8sApiCoreV1NodeSelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "preferredDuringSchedulingIgnoredDuringExecution", "baseName": "preferredDuringSchedulingIgnoredDuringExecution", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "requiredDuringSchedulingIgnoredDuringExecution", "baseName": "requiredDuringSchedulingIgnoredDuringExecution", - "type": "IoK8sApiCoreV1NodeSelector", - "format": "" + "type": "IoK8sApiCoreV1NodeSelector" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1NodeAffinity.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelector.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelector.ts index 7c8c500..1481d15 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1NodeSelectorTerm } from './ioK8sApiCoreV1NodeSelectorTerm'; /** * A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. @@ -22,21 +23,17 @@ export class IoK8sApiCoreV1NodeSelector { */ 'nodeSelectorTerms': Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "nodeSelectorTerms", "baseName": "nodeSelectorTerms", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1NodeSelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorRequirement.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorRequirement.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorRequirement.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorRequirement.ts index 3998fdd..e673e91 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorRequirement.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorRequirement.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -23,42 +24,43 @@ export class IoK8sApiCoreV1NodeSelectorRequirement { /** * Represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. Possible enum values: - `\"DoesNotExist\"` - `\"Exists\"` - `\"Gt\"` - `\"In\"` - `\"Lt\"` - `\"NotIn\"` */ - 'operator': IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum; + 'operator': IoK8sApiCoreV1NodeSelectorRequirement.OperatorEnum; /** * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. */ 'values'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "operator", "baseName": "operator", - "type": "IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum", - "format": "" + "type": "IoK8sApiCoreV1NodeSelectorRequirement.OperatorEnum" }, { "name": "values", "baseName": "values", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1NodeSelectorRequirement.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1NodeSelectorRequirementOperatorEnum = "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn" ; - +export namespace IoK8sApiCoreV1NodeSelectorRequirement { + export enum OperatorEnum { + DoesNotExist = 'DoesNotExist', + Exists = 'Exists', + Gt = 'Gt', + In = 'In', + Lt = 'Lt', + NotIn = 'NotIn' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorTerm.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorTerm.ts index c491a3e..e17dda2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1NodeSelectorTerm.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1NodeSelectorTerm.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1NodeSelectorRequirement } from '../models/IoK8sApiCoreV1NodeSelectorRequirement'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from './ioK8sApiCoreV1NodeSelectorRequirement'; /** * A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. @@ -26,27 +27,22 @@ export class IoK8sApiCoreV1NodeSelectorTerm { */ 'matchFields'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "matchExpressions", "baseName": "matchExpressions", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "matchFields", "baseName": "matchFields", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1NodeSelectorTerm.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectFieldSelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectFieldSelector.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectFieldSelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectFieldSelector.ts index ca01f09..ddf6426 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectFieldSelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectFieldSelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ObjectFieldSelector selects an APIVersioned field of an object. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1ObjectFieldSelector { */ 'fieldPath': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "fieldPath", "baseName": "fieldPath", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ObjectFieldSelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectReference.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectReference.ts similarity index 81% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectReference.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectReference.ts index 62ddbd9..8206907 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ObjectReference.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ObjectReference.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ObjectReference contains enough information to let you inspect or modify the referred object. @@ -45,57 +46,47 @@ export class IoK8sApiCoreV1ObjectReference { */ 'uid'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "fieldPath", "baseName": "fieldPath", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "resourceVersion", "baseName": "resourceVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "uid", "baseName": "uid", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ObjectReference.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaim.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaim.ts similarity index 65% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaim.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaim.ts index 1f6e4b8..5c9e69b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaim.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaim.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; -import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from './ioK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from './ioK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * PersistentVolumeClaim is a user\'s request for and claim to a persistent volume @@ -31,45 +32,37 @@ export class IoK8sApiCoreV1PersistentVolumeClaim { 'spec'?: IoK8sApiCoreV1PersistentVolumeClaimSpec; 'status'?: IoK8sApiCoreV1PersistentVolumeClaimStatus; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec" }, { "name": "status", "baseName": "status", - "type": "IoK8sApiCoreV1PersistentVolumeClaimStatus", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatus" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaim.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimCondition.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimCondition.ts index 4e02d7f..ccefe63 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimCondition.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimCondition.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * PersistentVolumeClaimCondition contails details about state of pvc @@ -36,56 +37,50 @@ export class IoK8sApiCoreV1PersistentVolumeClaimCondition { /** * Possible enum values: - `\"FileSystemResizePending\"` - controller resize is finished and a file system resize is pending on node - `\"Resizing\"` - a user trigger resize of pvc has been started */ - 'type': IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum; + 'type': IoK8sApiCoreV1PersistentVolumeClaimCondition.TypeEnum; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "lastProbeTime", "baseName": "lastProbeTime", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "lastTransitionTime", "baseName": "lastTransitionTime", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "reason", "baseName": "reason", - "type": "string", - "format": "" + "type": "string" }, { "name": "status", "baseName": "status", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimCondition.TypeEnum" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaimCondition.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1PersistentVolumeClaimConditionTypeEnum = "FileSystemResizePending" | "Resizing" ; - +export namespace IoK8sApiCoreV1PersistentVolumeClaimCondition { + export enum TypeEnum { + FileSystemResizePending = 'FileSystemResizePending', + Resizing = 'Resizing' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimSpec.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimSpec.ts index 9fd36bf..b9df2f0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +11,10 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ResourceRequirements } from '../models/IoK8sApiCoreV1ResourceRequirements'; -import { IoK8sApiCoreV1TypedLocalObjectReference } from '../models/IoK8sApiCoreV1TypedLocalObjectReference'; -import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from './ioK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; /** * PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes @@ -40,63 +41,52 @@ export class IoK8sApiCoreV1PersistentVolumeClaimSpec { */ 'volumeName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessModes", "baseName": "accessModes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "dataSource", "baseName": "dataSource", - "type": "IoK8sApiCoreV1TypedLocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1TypedLocalObjectReference" }, { "name": "dataSourceRef", "baseName": "dataSourceRef", - "type": "IoK8sApiCoreV1TypedLocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1TypedLocalObjectReference" }, { "name": "resources", "baseName": "resources", - "type": "IoK8sApiCoreV1ResourceRequirements", - "format": "" + "type": "IoK8sApiCoreV1ResourceRequirements" }, { "name": "selector", "baseName": "selector", - "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector" }, { "name": "storageClassName", "baseName": "storageClassName", - "type": "string", - "format": "" + "type": "string" }, { "name": "volumeMode", "baseName": "volumeMode", - "type": "string", - "format": "" + "type": "string" }, { "name": "volumeName", "baseName": "volumeName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaimSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimStatus.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimStatus.ts index 950ce17..7fa18ab 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimStatus.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimStatus.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from './ioK8sApiCoreV1PersistentVolumeClaimCondition'; /** * PersistentVolumeClaimStatus is the current status of a persistent volume claim. @@ -36,60 +37,55 @@ export class IoK8sApiCoreV1PersistentVolumeClaimStatus { /** * Phase represents the current phase of PersistentVolumeClaim. Possible enum values: - `\"Bound\"` used for PersistentVolumeClaims that are bound - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost. - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound */ - 'phase'?: IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum; + 'phase'?: IoK8sApiCoreV1PersistentVolumeClaimStatus.PhaseEnum; /** * ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. */ 'resizeStatus'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "accessModes", "baseName": "accessModes", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "allocatedResources", "baseName": "allocatedResources", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "capacity", "baseName": "capacity", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "conditions", "baseName": "conditions", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "phase", "baseName": "phase", - "type": "IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimStatus.PhaseEnum" }, { "name": "resizeStatus", "baseName": "resizeStatus", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaimStatus.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1PersistentVolumeClaimStatusPhaseEnum = "Bound" | "Lost" | "Pending" ; - +export namespace IoK8sApiCoreV1PersistentVolumeClaimStatus { + export enum PhaseEnum { + Bound = 'Bound', + Lost = 'Lost', + Pending = 'Pending' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimTemplate.ts similarity index 59% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimTemplate.ts index 2aece3c..4bf4619 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimTemplate.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimTemplate.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec'; -import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from './ioK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; /** * PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. @@ -21,27 +22,22 @@ export class IoK8sApiCoreV1PersistentVolumeClaimTemplate { 'metadata'?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; 'spec': IoK8sApiCoreV1PersistentVolumeClaimSpec; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "metadata", "baseName": "metadata", - "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1ObjectMeta" }, { "name": "spec", "baseName": "spec", - "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimSpec" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaimTemplate.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts index a5f5dbc..255272b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PersistentVolumeClaimVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * PersistentVolumeClaimVolumeSource references the user\'s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1PersistentVolumeClaimVolumeSource { */ 'readOnly'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "claimName", "baseName": "claimName", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PersistentVolumeClaimVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts index f87e4f5..d2369dd 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PhotonPersistentDiskVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Photon Controller persistent disk resource. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1PhotonPersistentDiskVolumeSource { */ 'pdID': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "pdID", "baseName": "pdID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PhotonPersistentDiskVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinity.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinity.ts similarity index 79% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinity.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinity.ts index 106c767..4ecb016 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinity.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinity.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; -import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PodAffinityTerm } from './ioK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from './ioK8sApiCoreV1WeightedPodAffinityTerm'; /** * Pod affinity is a group of inter pod affinity scheduling rules. @@ -27,27 +28,22 @@ export class IoK8sApiCoreV1PodAffinity { */ 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "preferredDuringSchedulingIgnoredDuringExecution", "baseName": "preferredDuringSchedulingIgnoredDuringExecution", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "requiredDuringSchedulingIgnoredDuringExecution", "baseName": "requiredDuringSchedulingIgnoredDuringExecution", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodAffinity.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinityTerm.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinityTerm.ts similarity index 80% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinityTerm.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinityTerm.ts index 9d412f8..bfa8f4a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAffinityTerm.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAffinityTerm.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; /** * Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running @@ -28,39 +29,32 @@ export class IoK8sApiCoreV1PodAffinityTerm { */ 'topologyKey': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "labelSelector", "baseName": "labelSelector", - "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector" }, { "name": "namespaceSelector", "baseName": "namespaceSelector", - "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector" }, { "name": "namespaces", "baseName": "namespaces", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "topologyKey", "baseName": "topologyKey", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodAffinityTerm.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAntiAffinity.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAntiAffinity.ts similarity index 80% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAntiAffinity.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAntiAffinity.ts index e80d4c3..2b8c848 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodAntiAffinity.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodAntiAffinity.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; -import { IoK8sApiCoreV1WeightedPodAffinityTerm } from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PodAffinityTerm } from './ioK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from './ioK8sApiCoreV1WeightedPodAffinityTerm'; /** * Pod anti affinity is a group of inter pod anti affinity scheduling rules. @@ -27,27 +28,22 @@ export class IoK8sApiCoreV1PodAntiAffinity { */ 'requiredDuringSchedulingIgnoredDuringExecution'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "preferredDuringSchedulingIgnoredDuringExecution", "baseName": "preferredDuringSchedulingIgnoredDuringExecution", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "requiredDuringSchedulingIgnoredDuringExecution", "baseName": "requiredDuringSchedulingIgnoredDuringExecution", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodAntiAffinity.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfig.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfig.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfig.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfig.ts index 32889cb..251618d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfig.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfig.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PodDNSConfigOption } from '../models/IoK8sApiCoreV1PodDNSConfigOption'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PodDNSConfigOption } from './ioK8sApiCoreV1PodDNSConfigOption'; /** * PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. @@ -30,33 +31,27 @@ export class IoK8sApiCoreV1PodDNSConfig { */ 'searches'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "nameservers", "baseName": "nameservers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "options", "baseName": "options", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "searches", "baseName": "searches", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodDNSConfig.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfigOption.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfigOption.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfigOption.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfigOption.ts index 704ed18..9994a37 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodDNSConfigOption.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodDNSConfigOption.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * PodDNSConfigOption defines DNS resolver options of a pod. @@ -22,27 +23,22 @@ export class IoK8sApiCoreV1PodDNSConfigOption { 'name'?: string; 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodDNSConfigOption.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodSecurityContext.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodSecurityContext.ts similarity index 79% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodSecurityContext.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodSecurityContext.ts index 90351e8..20690c9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PodSecurityContext.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PodSecurityContext.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; -import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; -import { IoK8sApiCoreV1Sysctl } from '../models/IoK8sApiCoreV1Sysctl'; -import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1SELinuxOptions } from './ioK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1SeccompProfile } from './ioK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1Sysctl } from './ioK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from './ioK8sApiCoreV1WindowsSecurityContextOptions'; /** * PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. @@ -52,75 +53,62 @@ export class IoK8sApiCoreV1PodSecurityContext { 'sysctls'?: Array; 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsGroup", "baseName": "fsGroup", - "type": "number", - "format": "" + "type": "number" }, { "name": "fsGroupChangePolicy", "baseName": "fsGroupChangePolicy", - "type": "string", - "format": "" + "type": "string" }, { "name": "runAsGroup", "baseName": "runAsGroup", - "type": "number", - "format": "" + "type": "number" }, { "name": "runAsNonRoot", "baseName": "runAsNonRoot", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "runAsUser", "baseName": "runAsUser", - "type": "number", - "format": "" + "type": "number" }, { "name": "seLinuxOptions", "baseName": "seLinuxOptions", - "type": "IoK8sApiCoreV1SELinuxOptions", - "format": "" + "type": "IoK8sApiCoreV1SELinuxOptions" }, { "name": "seccompProfile", "baseName": "seccompProfile", - "type": "IoK8sApiCoreV1SeccompProfile", - "format": "" + "type": "IoK8sApiCoreV1SeccompProfile" }, { "name": "supplementalGroups", "baseName": "supplementalGroups", - "type": "Array", - "format": "int64" + "type": "Array" }, { "name": "sysctls", "baseName": "sysctls", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "windowsOptions", "baseName": "windowsOptions", - "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", - "format": "" + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PodSecurityContext.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PortworxVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PortworxVolumeSource.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PortworxVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PortworxVolumeSource.ts index 9b5736e..fab8150 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PortworxVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PortworxVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * PortworxVolumeSource represents a Portworx volume resource. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1PortworxVolumeSource { */ 'volumeID': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "volumeID", "baseName": "volumeID", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PortworxVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PreferredSchedulingTerm.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PreferredSchedulingTerm.ts index c4a8189..004416a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1PreferredSchedulingTerm.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1PreferredSchedulingTerm.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1NodeSelectorTerm } from '../models/IoK8sApiCoreV1NodeSelectorTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1NodeSelectorTerm } from './ioK8sApiCoreV1NodeSelectorTerm'; /** * An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it\'s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). @@ -23,27 +24,22 @@ export class IoK8sApiCoreV1PreferredSchedulingTerm { */ 'weight': number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "preference", "baseName": "preference", - "type": "IoK8sApiCoreV1NodeSelectorTerm", - "format": "" + "type": "IoK8sApiCoreV1NodeSelectorTerm" }, { "name": "weight", "baseName": "weight", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1PreferredSchedulingTerm.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Probe.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Probe.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Probe.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Probe.ts index d10e524..31ef4e3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Probe.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Probe.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ExecAction } from '../models/IoK8sApiCoreV1ExecAction'; -import { IoK8sApiCoreV1GRPCAction } from '../models/IoK8sApiCoreV1GRPCAction'; -import { IoK8sApiCoreV1HTTPGetAction } from '../models/IoK8sApiCoreV1HTTPGetAction'; -import { IoK8sApiCoreV1TCPSocketAction } from '../models/IoK8sApiCoreV1TCPSocketAction'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ExecAction } from './ioK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1GRPCAction } from './ioK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1HTTPGetAction } from './ioK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1TCPSocketAction } from './ioK8sApiCoreV1TCPSocketAction'; /** * Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. @@ -49,75 +50,62 @@ export class IoK8sApiCoreV1Probe { */ 'timeoutSeconds'?: number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "exec", "baseName": "exec", - "type": "IoK8sApiCoreV1ExecAction", - "format": "" + "type": "IoK8sApiCoreV1ExecAction" }, { "name": "failureThreshold", "baseName": "failureThreshold", - "type": "number", - "format": "" + "type": "number" }, { "name": "grpc", "baseName": "grpc", - "type": "IoK8sApiCoreV1GRPCAction", - "format": "" + "type": "IoK8sApiCoreV1GRPCAction" }, { "name": "httpGet", "baseName": "httpGet", - "type": "IoK8sApiCoreV1HTTPGetAction", - "format": "" + "type": "IoK8sApiCoreV1HTTPGetAction" }, { "name": "initialDelaySeconds", "baseName": "initialDelaySeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "periodSeconds", "baseName": "periodSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "successThreshold", "baseName": "successThreshold", - "type": "number", - "format": "" + "type": "number" }, { "name": "tcpSocket", "baseName": "tcpSocket", - "type": "IoK8sApiCoreV1TCPSocketAction", - "format": "" + "type": "IoK8sApiCoreV1TCPSocketAction" }, { "name": "terminationGracePeriodSeconds", "baseName": "terminationGracePeriodSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "timeoutSeconds", "baseName": "timeoutSeconds", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Probe.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ProjectedVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ProjectedVolumeSource.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ProjectedVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ProjectedVolumeSource.ts index 2d15bbd..92452f1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ProjectedVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ProjectedVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1VolumeProjection } from '../models/IoK8sApiCoreV1VolumeProjection'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1VolumeProjection } from './ioK8sApiCoreV1VolumeProjection'; /** * Represents a projected volume source @@ -26,27 +27,22 @@ export class IoK8sApiCoreV1ProjectedVolumeSource { */ 'sources'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "defaultMode", "baseName": "defaultMode", - "type": "number", - "format": "" + "type": "number" }, { "name": "sources", "baseName": "sources", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ProjectedVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1QuobyteVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1QuobyteVolumeSource.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1QuobyteVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1QuobyteVolumeSource.ts index c1d8881..12af7af 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1QuobyteVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1QuobyteVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. @@ -41,51 +42,42 @@ export class IoK8sApiCoreV1QuobyteVolumeSource { */ 'volume': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "group", "baseName": "group", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "registry", "baseName": "registry", - "type": "string", - "format": "" + "type": "string" }, { "name": "tenant", "baseName": "tenant", - "type": "string", - "format": "" + "type": "string" }, { "name": "user", "baseName": "user", - "type": "string", - "format": "" + "type": "string" }, { "name": "volume", "baseName": "volume", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1QuobyteVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1RBDVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1RBDVolumeSource.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1RBDVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1RBDVolumeSource.ts index 1c3e521..6d1c43c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1RBDVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1RBDVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. @@ -47,63 +48,52 @@ export class IoK8sApiCoreV1RBDVolumeSource { */ 'user'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "image", "baseName": "image", - "type": "string", - "format": "" + "type": "string" }, { "name": "keyring", "baseName": "keyring", - "type": "string", - "format": "" + "type": "string" }, { "name": "monitors", "baseName": "monitors", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "pool", "baseName": "pool", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "user", "baseName": "user", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1RBDVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceFieldSelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceFieldSelector.ts similarity index 88% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceFieldSelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceFieldSelector.ts index e92b2c8..3c13112 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceFieldSelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceFieldSelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ResourceFieldSelector represents container resources (cpu, memory) and their output format @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1ResourceFieldSelector { */ 'resource': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "containerName", "baseName": "containerName", - "type": "string", - "format": "" + "type": "string" }, { "name": "divisor", "baseName": "divisor", - "type": "string", - "format": "" + "type": "string" }, { "name": "resource", "baseName": "resource", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ResourceFieldSelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceRequirements.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceRequirements.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceRequirements.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceRequirements.ts index e9cdf03..6c8a4c9 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ResourceRequirements.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ResourceRequirements.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ResourceRequirements describes the compute resource requirements. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1ResourceRequirements { */ 'requests'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "limits", "baseName": "limits", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "requests", "baseName": "requests", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ResourceRequirements.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SELinuxOptions.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SELinuxOptions.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SELinuxOptions.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SELinuxOptions.ts index 0b7217f..c707ad4 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SELinuxOptions.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SELinuxOptions.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * SELinuxOptions are the labels to be applied to the container @@ -33,39 +34,32 @@ export class IoK8sApiCoreV1SELinuxOptions { */ 'user'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "level", "baseName": "level", - "type": "string", - "format": "" + "type": "string" }, { "name": "role", "baseName": "role", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" }, { "name": "user", "baseName": "user", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SELinuxOptions.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ScaleIOVolumeSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ScaleIOVolumeSource.ts index 6c512c3..67231c1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ScaleIOVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ScaleIOVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * ScaleIOVolumeSource represents a persistent ScaleIO volume @@ -55,75 +56,62 @@ export class IoK8sApiCoreV1ScaleIOVolumeSource { */ 'volumeName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "gateway", "baseName": "gateway", - "type": "string", - "format": "" + "type": "string" }, { "name": "protectionDomain", "baseName": "protectionDomain", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "sslEnabled", "baseName": "sslEnabled", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "storageMode", "baseName": "storageMode", - "type": "string", - "format": "" + "type": "string" }, { "name": "storagePool", "baseName": "storagePool", - "type": "string", - "format": "" + "type": "string" }, { "name": "system", "baseName": "system", - "type": "string", - "format": "" + "type": "string" }, { "name": "volumeName", "baseName": "volumeName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ScaleIOVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SeccompProfile.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SeccompProfile.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SeccompProfile.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SeccompProfile.ts index b0fd498..8472e9d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SeccompProfile.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SeccompProfile.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. @@ -23,32 +24,31 @@ export class IoK8sApiCoreV1SeccompProfile { /** * type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. Possible enum values: - `\"Localhost\"` indicates a profile defined in a file on the node should be used. The file\'s location relative to /seccomp. - `\"RuntimeDefault\"` represents the default container runtime seccomp profile. - `\"Unconfined\"` indicates no seccomp profile is applied (A.K.A. unconfined). */ - 'type': IoK8sApiCoreV1SeccompProfileTypeEnum; + 'type': IoK8sApiCoreV1SeccompProfile.TypeEnum; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "localhostProfile", "baseName": "localhostProfile", - "type": "string", - "format": "" + "type": "string" }, { "name": "type", "baseName": "type", - "type": "IoK8sApiCoreV1SeccompProfileTypeEnum", - "format": "" + "type": "IoK8sApiCoreV1SeccompProfile.TypeEnum" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SeccompProfile.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1SeccompProfileTypeEnum = "Localhost" | "RuntimeDefault" | "Unconfined" ; - +export namespace IoK8sApiCoreV1SeccompProfile { + export enum TypeEnum { + Localhost = 'Localhost', + RuntimeDefault = 'RuntimeDefault', + Unconfined = 'Unconfined' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretEnvSource.ts similarity index 74% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretEnvSource.ts index d490574..3a74c6c 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretEnvSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretEnvSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret\'s Data field will represent the key-value pairs as environment variables. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1SecretEnvSource { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SecretEnvSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretKeySelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretKeySelector.ts similarity index 73% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretKeySelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretKeySelector.ts index 8839286..7eced5d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretKeySelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretKeySelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * SecretKeySelector selects a key of a Secret. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1SecretKeySelector { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SecretKeySelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretProjection.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretProjection.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretProjection.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretProjection.ts index 9383fa8..c9a47c0 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretProjection.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretProjection.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1KeyToPath } from './ioK8sApiCoreV1KeyToPath'; /** * Adapts a secret into a projected volume. The contents of the target Secret\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. @@ -30,33 +31,27 @@ export class IoK8sApiCoreV1SecretProjection { */ 'optional'?: boolean; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SecretProjection.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretVolumeSource.ts similarity index 80% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretVolumeSource.ts index 2a8b31a..3db95d3 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecretVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecretVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1KeyToPath } from '../models/IoK8sApiCoreV1KeyToPath'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1KeyToPath } from './ioK8sApiCoreV1KeyToPath'; /** * Adapts a Secret into a volume. The contents of the target Secret\'s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. @@ -34,39 +35,32 @@ export class IoK8sApiCoreV1SecretVolumeSource { */ 'secretName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "defaultMode", "baseName": "defaultMode", - "type": "number", - "format": "" + "type": "number" }, { "name": "items", "baseName": "items", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "optional", "baseName": "optional", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretName", "baseName": "secretName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SecretVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecurityContext.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecurityContext.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecurityContext.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecurityContext.ts index 6a18414..922b54d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1SecurityContext.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1SecurityContext.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1Capabilities } from '../models/IoK8sApiCoreV1Capabilities'; -import { IoK8sApiCoreV1SELinuxOptions } from '../models/IoK8sApiCoreV1SELinuxOptions'; -import { IoK8sApiCoreV1SeccompProfile } from '../models/IoK8sApiCoreV1SeccompProfile'; -import { IoK8sApiCoreV1WindowsSecurityContextOptions } from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1Capabilities } from './ioK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1SELinuxOptions } from './ioK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1SeccompProfile } from './ioK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from './ioK8sApiCoreV1WindowsSecurityContextOptions'; /** * SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. @@ -53,81 +54,67 @@ export class IoK8sApiCoreV1SecurityContext { 'seccompProfile'?: IoK8sApiCoreV1SeccompProfile; 'windowsOptions'?: IoK8sApiCoreV1WindowsSecurityContextOptions; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "allowPrivilegeEscalation", "baseName": "allowPrivilegeEscalation", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "capabilities", "baseName": "capabilities", - "type": "IoK8sApiCoreV1Capabilities", - "format": "" + "type": "IoK8sApiCoreV1Capabilities" }, { "name": "privileged", "baseName": "privileged", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "procMount", "baseName": "procMount", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnlyRootFilesystem", "baseName": "readOnlyRootFilesystem", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "runAsGroup", "baseName": "runAsGroup", - "type": "number", - "format": "" + "type": "number" }, { "name": "runAsNonRoot", "baseName": "runAsNonRoot", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "runAsUser", "baseName": "runAsUser", - "type": "number", - "format": "" + "type": "number" }, { "name": "seLinuxOptions", "baseName": "seLinuxOptions", - "type": "IoK8sApiCoreV1SELinuxOptions", - "format": "" + "type": "IoK8sApiCoreV1SELinuxOptions" }, { "name": "seccompProfile", "baseName": "seccompProfile", - "type": "IoK8sApiCoreV1SeccompProfile", - "format": "" + "type": "IoK8sApiCoreV1SeccompProfile" }, { "name": "windowsOptions", "baseName": "windowsOptions", - "type": "IoK8sApiCoreV1WindowsSecurityContextOptions", - "format": "" + "type": "IoK8sApiCoreV1WindowsSecurityContextOptions" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1SecurityContext.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServiceAccountTokenProjection.ts similarity index 81% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServiceAccountTokenProjection.ts index c4193be..83a43e5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServiceAccountTokenProjection.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServiceAccountTokenProjection.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1ServiceAccountTokenProjection { */ 'path': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "audience", "baseName": "audience", - "type": "string", - "format": "" + "type": "string" }, { "name": "expirationSeconds", "baseName": "expirationSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "path", "baseName": "path", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ServiceAccountTokenProjection.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServicePort.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServicePort.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServicePort.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServicePort.ts index 8c66bdb..e0f5609 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1ServicePort.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1ServicePort.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ServicePort contains information on service\'s port. @@ -35,57 +36,52 @@ export class IoK8sApiCoreV1ServicePort { /** * The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP. Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. */ - 'protocol'?: IoK8sApiCoreV1ServicePortProtocolEnum; + 'protocol'?: IoK8sApiCoreV1ServicePort.ProtocolEnum; 'targetPort'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "appProtocol", "baseName": "appProtocol", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "nodePort", "baseName": "nodePort", - "type": "number", - "format": "" + "type": "number" }, { "name": "port", "baseName": "port", - "type": "number", - "format": "" + "type": "number" }, { "name": "protocol", "baseName": "protocol", - "type": "IoK8sApiCoreV1ServicePortProtocolEnum", - "format": "" + "type": "IoK8sApiCoreV1ServicePort.ProtocolEnum" }, { "name": "targetPort", "baseName": "targetPort", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1ServicePort.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1ServicePortProtocolEnum = "SCTP" | "TCP" | "UDP" ; - +export namespace IoK8sApiCoreV1ServicePort { + export enum ProtocolEnum { + Sctp = 'SCTP', + Tcp = 'TCP', + Udp = 'UDP' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1StorageOSVolumeSource.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1StorageOSVolumeSource.ts index 85769f3..d51d774 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1StorageOSVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1StorageOSVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1LocalObjectReference } from '../models/IoK8sApiCoreV1LocalObjectReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; /** * Represents a StorageOS persistent volume resource. @@ -35,45 +36,37 @@ export class IoK8sApiCoreV1StorageOSVolumeSource { */ 'volumeNamespace'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "secretRef", "baseName": "secretRef", - "type": "IoK8sApiCoreV1LocalObjectReference", - "format": "" + "type": "IoK8sApiCoreV1LocalObjectReference" }, { "name": "volumeName", "baseName": "volumeName", - "type": "string", - "format": "" + "type": "string" }, { "name": "volumeNamespace", "baseName": "volumeNamespace", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1StorageOSVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Sysctl.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Sysctl.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Sysctl.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Sysctl.ts index 92b2dc1..dabcef6 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Sysctl.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Sysctl.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Sysctl defines a kernel parameter to be set @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1Sysctl { */ 'value': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Sysctl.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TCPSocketAction.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TCPSocketAction.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TCPSocketAction.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TCPSocketAction.ts index 859b6b6..79e2ef5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TCPSocketAction.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TCPSocketAction.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TCPSocketAction describes an action based on opening a socket @@ -22,27 +23,22 @@ export class IoK8sApiCoreV1TCPSocketAction { 'host'?: string; 'port': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "host", "baseName": "host", - "type": "string", - "format": "" + "type": "string" }, { "name": "port", "baseName": "port", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1TCPSocketAction.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Toleration.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Toleration.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Toleration.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Toleration.ts index 774036a..76bb56d 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Toleration.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Toleration.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . @@ -19,7 +20,7 @@ export class IoK8sApiCoreV1Toleration { /** * Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. Possible enum values: - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController. - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler. - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler. */ - 'effect'?: IoK8sApiCoreV1TolerationEffectEnum; + 'effect'?: IoK8sApiCoreV1Toleration.EffectEnum; /** * Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. */ @@ -27,7 +28,7 @@ export class IoK8sApiCoreV1Toleration { /** * Operator represents a key\'s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. Possible enum values: - `\"Equal\"` - `\"Exists\"` */ - 'operator'?: IoK8sApiCoreV1TolerationOperatorEnum; + 'operator'?: IoK8sApiCoreV1Toleration.OperatorEnum; /** * TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. */ @@ -37,49 +38,48 @@ export class IoK8sApiCoreV1Toleration { */ 'value'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "effect", "baseName": "effect", - "type": "IoK8sApiCoreV1TolerationEffectEnum", - "format": "" + "type": "IoK8sApiCoreV1Toleration.EffectEnum" }, { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "operator", "baseName": "operator", - "type": "IoK8sApiCoreV1TolerationOperatorEnum", - "format": "" + "type": "IoK8sApiCoreV1Toleration.OperatorEnum" }, { "name": "tolerationSeconds", "baseName": "tolerationSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "value", "baseName": "value", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Toleration.attributeTypeMap; } - - public constructor() { - } } - -export type IoK8sApiCoreV1TolerationEffectEnum = "NoExecute" | "NoSchedule" | "PreferNoSchedule" ; -export type IoK8sApiCoreV1TolerationOperatorEnum = "Equal" | "Exists" ; - +export namespace IoK8sApiCoreV1Toleration { + export enum EffectEnum { + NoExecute = 'NoExecute', + NoSchedule = 'NoSchedule', + PreferNoSchedule = 'PreferNoSchedule' + } + export enum OperatorEnum { + Equal = 'Equal', + Exists = 'Exists' + } +} diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TypedLocalObjectReference.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TypedLocalObjectReference.ts index fef071e..610586b 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1TypedLocalObjectReference.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1TypedLocalObjectReference.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. @@ -29,33 +30,27 @@ export class IoK8sApiCoreV1TypedLocalObjectReference { */ 'name': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiGroup", "baseName": "apiGroup", - "type": "string", - "format": "" + "type": "string" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1TypedLocalObjectReference.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Volume.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Volume.ts similarity index 52% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Volume.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Volume.ts index 5f86a72..53f21c1 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1Volume.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1Volume.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,36 +11,36 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; -import { IoK8sApiCoreV1AzureDiskVolumeSource } from '../models/IoK8sApiCoreV1AzureDiskVolumeSource'; -import { IoK8sApiCoreV1AzureFileVolumeSource } from '../models/IoK8sApiCoreV1AzureFileVolumeSource'; -import { IoK8sApiCoreV1CSIVolumeSource } from '../models/IoK8sApiCoreV1CSIVolumeSource'; -import { IoK8sApiCoreV1CephFSVolumeSource } from '../models/IoK8sApiCoreV1CephFSVolumeSource'; -import { IoK8sApiCoreV1CinderVolumeSource } from '../models/IoK8sApiCoreV1CinderVolumeSource'; -import { IoK8sApiCoreV1ConfigMapVolumeSource } from '../models/IoK8sApiCoreV1ConfigMapVolumeSource'; -import { IoK8sApiCoreV1DownwardAPIVolumeSource } from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource'; -import { IoK8sApiCoreV1EmptyDirVolumeSource } from '../models/IoK8sApiCoreV1EmptyDirVolumeSource'; -import { IoK8sApiCoreV1EphemeralVolumeSource } from '../models/IoK8sApiCoreV1EphemeralVolumeSource'; -import { IoK8sApiCoreV1FCVolumeSource } from '../models/IoK8sApiCoreV1FCVolumeSource'; -import { IoK8sApiCoreV1FlexVolumeSource } from '../models/IoK8sApiCoreV1FlexVolumeSource'; -import { IoK8sApiCoreV1FlockerVolumeSource } from '../models/IoK8sApiCoreV1FlockerVolumeSource'; -import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource'; -import { IoK8sApiCoreV1GitRepoVolumeSource } from '../models/IoK8sApiCoreV1GitRepoVolumeSource'; -import { IoK8sApiCoreV1GlusterfsVolumeSource } from '../models/IoK8sApiCoreV1GlusterfsVolumeSource'; -import { IoK8sApiCoreV1HostPathVolumeSource } from '../models/IoK8sApiCoreV1HostPathVolumeSource'; -import { IoK8sApiCoreV1ISCSIVolumeSource } from '../models/IoK8sApiCoreV1ISCSIVolumeSource'; -import { IoK8sApiCoreV1NFSVolumeSource } from '../models/IoK8sApiCoreV1NFSVolumeSource'; -import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource'; -import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource'; -import { IoK8sApiCoreV1PortworxVolumeSource } from '../models/IoK8sApiCoreV1PortworxVolumeSource'; -import { IoK8sApiCoreV1ProjectedVolumeSource } from '../models/IoK8sApiCoreV1ProjectedVolumeSource'; -import { IoK8sApiCoreV1QuobyteVolumeSource } from '../models/IoK8sApiCoreV1QuobyteVolumeSource'; -import { IoK8sApiCoreV1RBDVolumeSource } from '../models/IoK8sApiCoreV1RBDVolumeSource'; -import { IoK8sApiCoreV1ScaleIOVolumeSource } from '../models/IoK8sApiCoreV1ScaleIOVolumeSource'; -import { IoK8sApiCoreV1SecretVolumeSource } from '../models/IoK8sApiCoreV1SecretVolumeSource'; -import { IoK8sApiCoreV1StorageOSVolumeSource } from '../models/IoK8sApiCoreV1StorageOSVolumeSource'; -import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from './ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from './ioK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from './ioK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from './ioK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1CephFSVolumeSource } from './ioK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from './ioK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from './ioK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from './ioK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from './ioK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from './ioK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1FCVolumeSource } from './ioK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from './ioK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from './ioK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from './ioK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from './ioK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from './ioK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HostPathVolumeSource } from './ioK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from './ioK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1NFSVolumeSource } from './ioK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from './ioK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from './ioK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PortworxVolumeSource } from './ioK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from './ioK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from './ioK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from './ioK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from './ioK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SecretVolumeSource } from './ioK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from './ioK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from './ioK8sApiCoreV1VsphereVirtualDiskVolumeSource'; /** * Volume represents a named volume in a pod that may be accessed by any container in the pod. @@ -79,195 +80,162 @@ export class IoK8sApiCoreV1Volume { 'storageos'?: IoK8sApiCoreV1StorageOSVolumeSource; 'vsphereVolume'?: IoK8sApiCoreV1VsphereVirtualDiskVolumeSource; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "awsElasticBlockStore", "baseName": "awsElasticBlockStore", - "type": "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource" }, { "name": "azureDisk", "baseName": "azureDisk", - "type": "IoK8sApiCoreV1AzureDiskVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1AzureDiskVolumeSource" }, { "name": "azureFile", "baseName": "azureFile", - "type": "IoK8sApiCoreV1AzureFileVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1AzureFileVolumeSource" }, { "name": "cephfs", "baseName": "cephfs", - "type": "IoK8sApiCoreV1CephFSVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1CephFSVolumeSource" }, { "name": "cinder", "baseName": "cinder", - "type": "IoK8sApiCoreV1CinderVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1CinderVolumeSource" }, { "name": "configMap", "baseName": "configMap", - "type": "IoK8sApiCoreV1ConfigMapVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapVolumeSource" }, { "name": "csi", "baseName": "csi", - "type": "IoK8sApiCoreV1CSIVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1CSIVolumeSource" }, { "name": "downwardAPI", "baseName": "downwardAPI", - "type": "IoK8sApiCoreV1DownwardAPIVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1DownwardAPIVolumeSource" }, { "name": "emptyDir", "baseName": "emptyDir", - "type": "IoK8sApiCoreV1EmptyDirVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1EmptyDirVolumeSource" }, { "name": "ephemeral", "baseName": "ephemeral", - "type": "IoK8sApiCoreV1EphemeralVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1EphemeralVolumeSource" }, { "name": "fc", "baseName": "fc", - "type": "IoK8sApiCoreV1FCVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1FCVolumeSource" }, { "name": "flexVolume", "baseName": "flexVolume", - "type": "IoK8sApiCoreV1FlexVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1FlexVolumeSource" }, { "name": "flocker", "baseName": "flocker", - "type": "IoK8sApiCoreV1FlockerVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1FlockerVolumeSource" }, { "name": "gcePersistentDisk", "baseName": "gcePersistentDisk", - "type": "IoK8sApiCoreV1GCEPersistentDiskVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1GCEPersistentDiskVolumeSource" }, { "name": "gitRepo", "baseName": "gitRepo", - "type": "IoK8sApiCoreV1GitRepoVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1GitRepoVolumeSource" }, { "name": "glusterfs", "baseName": "glusterfs", - "type": "IoK8sApiCoreV1GlusterfsVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1GlusterfsVolumeSource" }, { "name": "hostPath", "baseName": "hostPath", - "type": "IoK8sApiCoreV1HostPathVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1HostPathVolumeSource" }, { "name": "iscsi", "baseName": "iscsi", - "type": "IoK8sApiCoreV1ISCSIVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1ISCSIVolumeSource" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "nfs", "baseName": "nfs", - "type": "IoK8sApiCoreV1NFSVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1NFSVolumeSource" }, { "name": "persistentVolumeClaim", "baseName": "persistentVolumeClaim", - "type": "IoK8sApiCoreV1PersistentVolumeClaimVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1PersistentVolumeClaimVolumeSource" }, { "name": "photonPersistentDisk", "baseName": "photonPersistentDisk", - "type": "IoK8sApiCoreV1PhotonPersistentDiskVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1PhotonPersistentDiskVolumeSource" }, { "name": "portworxVolume", "baseName": "portworxVolume", - "type": "IoK8sApiCoreV1PortworxVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1PortworxVolumeSource" }, { "name": "projected", "baseName": "projected", - "type": "IoK8sApiCoreV1ProjectedVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1ProjectedVolumeSource" }, { "name": "quobyte", "baseName": "quobyte", - "type": "IoK8sApiCoreV1QuobyteVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1QuobyteVolumeSource" }, { "name": "rbd", "baseName": "rbd", - "type": "IoK8sApiCoreV1RBDVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1RBDVolumeSource" }, { "name": "scaleIO", "baseName": "scaleIO", - "type": "IoK8sApiCoreV1ScaleIOVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1ScaleIOVolumeSource" }, { "name": "secret", "baseName": "secret", - "type": "IoK8sApiCoreV1SecretVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1SecretVolumeSource" }, { "name": "storageos", "baseName": "storageos", - "type": "IoK8sApiCoreV1StorageOSVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1StorageOSVolumeSource" }, { "name": "vsphereVolume", "baseName": "vsphereVolume", - "type": "IoK8sApiCoreV1VsphereVirtualDiskVolumeSource", - "format": "" + "type": "IoK8sApiCoreV1VsphereVirtualDiskVolumeSource" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1Volume.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeDevice.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeDevice.ts similarity index 72% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeDevice.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeDevice.ts index 72cbd43..2f2c073 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeDevice.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeDevice.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * volumeDevice describes a mapping of a raw block device within a container. @@ -25,27 +26,22 @@ export class IoK8sApiCoreV1VolumeDevice { */ 'name': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "devicePath", "baseName": "devicePath", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1VolumeDevice.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeMount.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeMount.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeMount.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeMount.ts index d4b0337..a27955f 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeMount.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeMount.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * VolumeMount describes a mounting of a Volume within a container. @@ -41,51 +42,42 @@ export class IoK8sApiCoreV1VolumeMount { */ 'subPathExpr'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "mountPath", "baseName": "mountPath", - "type": "string", - "format": "" + "type": "string" }, { "name": "mountPropagation", "baseName": "mountPropagation", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "readOnly", "baseName": "readOnly", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "subPath", "baseName": "subPath", - "type": "string", - "format": "" + "type": "string" }, { "name": "subPathExpr", "baseName": "subPathExpr", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1VolumeMount.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeProjection.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeProjection.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeProjection.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeProjection.ts index 076fc11..2ecc3c5 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VolumeProjection.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VolumeProjection.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +11,11 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1ConfigMapProjection } from '../models/IoK8sApiCoreV1ConfigMapProjection'; -import { IoK8sApiCoreV1DownwardAPIProjection } from '../models/IoK8sApiCoreV1DownwardAPIProjection'; -import { IoK8sApiCoreV1SecretProjection } from '../models/IoK8sApiCoreV1SecretProjection'; -import { IoK8sApiCoreV1ServiceAccountTokenProjection } from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1ConfigMapProjection } from './ioK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1DownwardAPIProjection } from './ioK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1SecretProjection } from './ioK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from './ioK8sApiCoreV1ServiceAccountTokenProjection'; /** * Projection that may be projected along with other supported volume types @@ -25,39 +26,32 @@ export class IoK8sApiCoreV1VolumeProjection { 'secret'?: IoK8sApiCoreV1SecretProjection; 'serviceAccountToken'?: IoK8sApiCoreV1ServiceAccountTokenProjection; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "configMap", "baseName": "configMap", - "type": "IoK8sApiCoreV1ConfigMapProjection", - "format": "" + "type": "IoK8sApiCoreV1ConfigMapProjection" }, { "name": "downwardAPI", "baseName": "downwardAPI", - "type": "IoK8sApiCoreV1DownwardAPIProjection", - "format": "" + "type": "IoK8sApiCoreV1DownwardAPIProjection" }, { "name": "secret", "baseName": "secret", - "type": "IoK8sApiCoreV1SecretProjection", - "format": "" + "type": "IoK8sApiCoreV1SecretProjection" }, { "name": "serviceAccountToken", "baseName": "serviceAccountToken", - "type": "IoK8sApiCoreV1ServiceAccountTokenProjection", - "format": "" + "type": "IoK8sApiCoreV1ServiceAccountTokenProjection" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1VolumeProjection.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts similarity index 75% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts index efddfe2..a357d04 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1VsphereVirtualDiskVolumeSource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * Represents a vSphere volume resource. @@ -33,39 +34,32 @@ export class IoK8sApiCoreV1VsphereVirtualDiskVolumeSource { */ 'volumePath': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "fsType", "baseName": "fsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "storagePolicyID", "baseName": "storagePolicyID", - "type": "string", - "format": "" + "type": "string" }, { "name": "storagePolicyName", "baseName": "storagePolicyName", - "type": "string", - "format": "" + "type": "string" }, { "name": "volumePath", "baseName": "volumePath", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1VsphereVirtualDiskVolumeSource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WeightedPodAffinityTerm.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WeightedPodAffinityTerm.ts index d5df670..9b67aec 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WeightedPodAffinityTerm.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WeightedPodAffinityTerm.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApiCoreV1PodAffinityTerm } from '../models/IoK8sApiCoreV1PodAffinityTerm'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApiCoreV1PodAffinityTerm } from './ioK8sApiCoreV1PodAffinityTerm'; /** * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) @@ -23,27 +24,22 @@ export class IoK8sApiCoreV1WeightedPodAffinityTerm { */ 'weight': number; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "podAffinityTerm", "baseName": "podAffinityTerm", - "type": "IoK8sApiCoreV1PodAffinityTerm", - "format": "" + "type": "IoK8sApiCoreV1PodAffinityTerm" }, { "name": "weight", "baseName": "weight", - "type": "number", - "format": "" + "type": "number" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1WeightedPodAffinityTerm.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WindowsSecurityContextOptions.ts similarity index 82% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WindowsSecurityContextOptions.ts index 85bdc38..b3acd33 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiCoreV1WindowsSecurityContextOptions.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiCoreV1WindowsSecurityContextOptions.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * WindowsSecurityContextOptions contain Windows-specific options and credentials. @@ -33,39 +34,32 @@ export class IoK8sApiCoreV1WindowsSecurityContextOptions { */ 'runAsUserName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "gmsaCredentialSpec", "baseName": "gmsaCredentialSpec", - "type": "string", - "format": "" + "type": "string" }, { "name": "gmsaCredentialSpecName", "baseName": "gmsaCredentialSpecName", - "type": "string", - "format": "" + "type": "string" }, { "name": "hostProcess", "baseName": "hostProcess", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "runAsUserName", "baseName": "runAsUserName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApiCoreV1WindowsSecurityContextOptions.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApiPolicyV1PodDisruptionBudgetSpec.ts similarity index 67% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApiPolicyV1PodDisruptionBudgetSpec.ts index 5d3ef24..e5ccb7a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApiPolicyV1PodDisruptionBudgetSpec.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApiPolicyV1PodDisruptionBudgetSpec.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; /** * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. @@ -21,33 +22,27 @@ export class IoK8sApiPolicyV1PodDisruptionBudgetSpec { 'minAvailable'?: string; 'selector'?: IoK8sApimachineryPkgApisMetaV1LabelSelector; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "maxUnavailable", "baseName": "maxUnavailable", - "type": "string", - "format": "" + "type": "string" }, { "name": "minAvailable", "baseName": "minAvailable", - "type": "string", - "format": "" + "type": "string" }, { "name": "selector", "baseName": "selector", - "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1LabelSelector" } ]; static getAttributeTypeMap() { return IoK8sApiPolicyV1PodDisruptionBudgetSpec.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1CreateOptions.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1CreateOptions.ts index 8c467a9..f83f5be 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1CreateOptions.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1CreateOptions.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * CreateOptions may be provided when creating an API object. @@ -20,33 +21,27 @@ export class IoK8sApimachineryPkgApisMetaV1CreateOptions { 'fieldManager'?: string; 'fieldValidation'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "dryRun", "baseName": "dryRun", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "fieldManager", "baseName": "fieldManager", - "type": "string", - "format": "" + "type": "string" }, { "name": "fieldValidation", "baseName": "fieldValidation", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1CreateOptions.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1GroupVersionResource.ts similarity index 68% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1GroupVersionResource.ts index f6cb5d7..914cb38 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1GroupVersionResource.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * +protobuf.options.(gogoproto.goproto_stringer)=false @@ -20,33 +21,27 @@ export class IoK8sApimachineryPkgApisMetaV1GroupVersionResource { 'resource'?: string; 'version'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "group", "baseName": "group", - "type": "string", - "format": "" + "type": "string" }, { "name": "resource", "baseName": "resource", - "type": "string", - "format": "" + "type": "string" }, { "name": "version", "baseName": "version", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1GroupVersionResource.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelector.ts similarity index 77% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelector.ts index 4d85a23..a8a7820 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelector.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelector.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +11,8 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from './ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; /** * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. @@ -26,27 +27,22 @@ export class IoK8sApimachineryPkgApisMetaV1LabelSelector { */ 'matchLabels'?: { [key: string]: string; }; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "matchExpressions", "baseName": "matchExpressions", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "matchLabels", "baseName": "matchLabels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1LabelSelector.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts similarity index 76% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts index 7ef4c7d..3f440bb 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. @@ -29,33 +30,27 @@ export class IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement { */ 'values'?: Array; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "key", "baseName": "key", - "type": "string", - "format": "" + "type": "string" }, { "name": "operator", "baseName": "operator", - "type": "string", - "format": "" + "type": "string" }, { "name": "values", "baseName": "values", - "type": "Array", - "format": "" + "type": "Array" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ListMeta.ts similarity index 86% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ListMeta.ts index 5947575..e909da2 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ListMeta.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ListMeta.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. @@ -33,39 +34,32 @@ export class IoK8sApimachineryPkgApisMetaV1ListMeta { */ 'selfLink'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "_continue", "baseName": "continue", - "type": "string", - "format": "" + "type": "string" }, { "name": "remainingItemCount", "baseName": "remainingItemCount", - "type": "number", - "format": "" + "type": "number" }, { "name": "resourceVersion", "baseName": "resourceVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "selfLink", "baseName": "selfLink", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1ListMeta.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts similarity index 83% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts index 87ccd31..26ec234 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. @@ -27,7 +28,7 @@ export class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry { /** * FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. Each key is either a \'.\' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: \'f:\', where is the name of a field in a struct, or key in a map \'v:\', where is the exact json formatted value of a list item \'i:\', where is position of a item in a list \'k:\', where is a map of a list item\'s key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. The exact format is defined in sigs.k8s.io/structured-merge-diff */ - 'fieldsV1'?: any; + 'fieldsV1'?: object; /** * Manager is an identifier of the workflow managing these fields. */ @@ -45,57 +46,47 @@ export class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry { */ 'time'?: Date; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "fieldsType", "baseName": "fieldsType", - "type": "string", - "format": "" + "type": "string" }, { "name": "fieldsV1", "baseName": "fieldsV1", - "type": "any", - "format": "" + "type": "object" }, { "name": "manager", "baseName": "manager", - "type": "string", - "format": "" + "type": "string" }, { "name": "operation", "baseName": "operation", - "type": "string", - "format": "" + "type": "string" }, { "name": "subresource", "baseName": "subresource", - "type": "string", - "format": "" + "type": "string" }, { "name": "time", "baseName": "time", - "type": "Date", - "format": "date-time" + "type": "Date" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ObjectMeta.ts similarity index 86% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ObjectMeta.ts index 54b5134..0d9808a 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1ObjectMeta.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1ObjectMeta.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +11,9 @@ * Do not edit the class manually. */ -import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; -import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from './ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from './ioK8sApimachineryPkgApisMetaV1OwnerReference'; /** * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. @@ -83,111 +84,92 @@ export class IoK8sApimachineryPkgApisMetaV1ObjectMeta { */ 'uid'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "annotations", "baseName": "annotations", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "clusterName", "baseName": "clusterName", - "type": "string", - "format": "" + "type": "string" }, { "name": "creationTimestamp", "baseName": "creationTimestamp", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "deletionGracePeriodSeconds", "baseName": "deletionGracePeriodSeconds", - "type": "number", - "format": "" + "type": "number" }, { "name": "deletionTimestamp", "baseName": "deletionTimestamp", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "finalizers", "baseName": "finalizers", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "generateName", "baseName": "generateName", - "type": "string", - "format": "" + "type": "string" }, { "name": "generation", "baseName": "generation", - "type": "number", - "format": "" + "type": "number" }, { "name": "labels", "baseName": "labels", - "type": "{ [key: string]: string; }", - "format": "" + "type": "{ [key: string]: string; }" }, { "name": "managedFields", "baseName": "managedFields", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "ownerReferences", "baseName": "ownerReferences", - "type": "Array", - "format": "" + "type": "Array" }, { "name": "resourceVersion", "baseName": "resourceVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "selfLink", "baseName": "selfLink", - "type": "string", - "format": "" + "type": "string" }, { "name": "uid", "baseName": "uid", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1ObjectMeta.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1OwnerReference.ts similarity index 78% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1OwnerReference.ts index 9134a62..04cfebc 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1OwnerReference.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1OwnerReference.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. @@ -41,51 +42,42 @@ export class IoK8sApimachineryPkgApisMetaV1OwnerReference { */ 'uid': string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "apiVersion", "baseName": "apiVersion", - "type": "string", - "format": "" + "type": "string" }, { "name": "blockOwnerDeletion", "baseName": "blockOwnerDeletion", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "controller", "baseName": "controller", - "type": "boolean", - "format": "" + "type": "boolean" }, { "name": "kind", "baseName": "kind", - "type": "string", - "format": "" + "type": "string" }, { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "uid", "baseName": "uid", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1OwnerReference.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1StatusCause.ts similarity index 79% rename from plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts rename to plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1StatusCause.ts index dcc7a46..a6fbf59 100644 --- a/plugins/argo-workflows/src/api/generated/models/IoK8sApimachineryPkgApisMetaV1StatusCause.ts +++ b/plugins/argo-workflows/src/api/generated/model/ioK8sApimachineryPkgApisMetaV1StatusCause.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; /** * StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. @@ -29,33 +30,27 @@ export class IoK8sApimachineryPkgApisMetaV1StatusCause { */ 'reason'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "field", "baseName": "field", - "type": "string", - "format": "" + "type": "string" }, { "name": "message", "baseName": "message", - "type": "string", - "format": "" + "type": "string" }, { "name": "reason", "baseName": "reason", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return IoK8sApimachineryPkgApisMetaV1StatusCause.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/model/models.ts b/plugins/argo-workflows/src/api/generated/model/models.ts new file mode 100644 index 0000000..299f31e --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/model/models.ts @@ -0,0 +1,1374 @@ +// @ts-nocheck +import localVarRequest from 'request'; + +export * from './eventsourceCreateEventSourceRequest'; +export * from './eventsourceEventSourceWatchEvent'; +export * from './eventsourceLogEntry'; +export * from './eventsourceUpdateEventSourceRequest'; +export * from './googleProtobufAny'; +export * from './grpcGatewayRuntimeError'; +export * from './grpcGatewayRuntimeStreamError'; +export * from './ioArgoprojEventsV1alpha1AMQPConsumeConfig'; +export * from './ioArgoprojEventsV1alpha1AMQPEventSource'; +export * from './ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +export * from './ioArgoprojEventsV1alpha1AMQPQueueBindConfig'; +export * from './ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +export * from './ioArgoprojEventsV1alpha1AWSLambdaTrigger'; +export * from './ioArgoprojEventsV1alpha1Amount'; +export * from './ioArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +export * from './ioArgoprojEventsV1alpha1ArtifactLocation'; +export * from './ioArgoprojEventsV1alpha1AzureEventHubsTrigger'; +export * from './ioArgoprojEventsV1alpha1AzureEventsHubEventSource'; +export * from './ioArgoprojEventsV1alpha1Backoff'; +export * from './ioArgoprojEventsV1alpha1BasicAuth'; +export * from './ioArgoprojEventsV1alpha1BitbucketAuth'; +export * from './ioArgoprojEventsV1alpha1BitbucketBasicAuth'; +export * from './ioArgoprojEventsV1alpha1BitbucketEventSource'; +export * from './ioArgoprojEventsV1alpha1BitbucketRepository'; +export * from './ioArgoprojEventsV1alpha1BitbucketServerEventSource'; +export * from './ioArgoprojEventsV1alpha1BitbucketServerRepository'; +export * from './ioArgoprojEventsV1alpha1CalendarEventSource'; +export * from './ioArgoprojEventsV1alpha1CatchupConfiguration'; +export * from './ioArgoprojEventsV1alpha1Condition'; +export * from './ioArgoprojEventsV1alpha1ConditionsResetByTime'; +export * from './ioArgoprojEventsV1alpha1ConditionsResetCriteria'; +export * from './ioArgoprojEventsV1alpha1ConfigMapPersistence'; +export * from './ioArgoprojEventsV1alpha1CustomTrigger'; +export * from './ioArgoprojEventsV1alpha1DataFilter'; +export * from './ioArgoprojEventsV1alpha1EmitterEventSource'; +export * from './ioArgoprojEventsV1alpha1EventContext'; +export * from './ioArgoprojEventsV1alpha1EventDependency'; +export * from './ioArgoprojEventsV1alpha1EventDependencyFilter'; +export * from './ioArgoprojEventsV1alpha1EventDependencyTransformer'; +export * from './ioArgoprojEventsV1alpha1EventPersistence'; +export * from './ioArgoprojEventsV1alpha1EventSource'; +export * from './ioArgoprojEventsV1alpha1EventSourceFilter'; +export * from './ioArgoprojEventsV1alpha1EventSourceList'; +export * from './ioArgoprojEventsV1alpha1EventSourceSpec'; +export * from './ioArgoprojEventsV1alpha1EventSourceStatus'; +export * from './ioArgoprojEventsV1alpha1ExprFilter'; +export * from './ioArgoprojEventsV1alpha1FileArtifact'; +export * from './ioArgoprojEventsV1alpha1FileEventSource'; +export * from './ioArgoprojEventsV1alpha1GenericEventSource'; +export * from './ioArgoprojEventsV1alpha1GitArtifact'; +export * from './ioArgoprojEventsV1alpha1GitCreds'; +export * from './ioArgoprojEventsV1alpha1GitRemoteConfig'; +export * from './ioArgoprojEventsV1alpha1GithubAppCreds'; +export * from './ioArgoprojEventsV1alpha1GithubEventSource'; +export * from './ioArgoprojEventsV1alpha1GitlabEventSource'; +export * from './ioArgoprojEventsV1alpha1HDFSEventSource'; +export * from './ioArgoprojEventsV1alpha1HTTPTrigger'; +export * from './ioArgoprojEventsV1alpha1Int64OrString'; +export * from './ioArgoprojEventsV1alpha1K8SResourcePolicy'; +export * from './ioArgoprojEventsV1alpha1KafkaConsumerGroup'; +export * from './ioArgoprojEventsV1alpha1KafkaEventSource'; +export * from './ioArgoprojEventsV1alpha1KafkaTrigger'; +export * from './ioArgoprojEventsV1alpha1LogTrigger'; +export * from './ioArgoprojEventsV1alpha1MQTTEventSource'; +export * from './ioArgoprojEventsV1alpha1Metadata'; +export * from './ioArgoprojEventsV1alpha1NATSAuth'; +export * from './ioArgoprojEventsV1alpha1NATSEventsSource'; +export * from './ioArgoprojEventsV1alpha1NATSTrigger'; +export * from './ioArgoprojEventsV1alpha1NSQEventSource'; +export * from './ioArgoprojEventsV1alpha1OpenWhiskTrigger'; +export * from './ioArgoprojEventsV1alpha1OwnedRepositories'; +export * from './ioArgoprojEventsV1alpha1PayloadField'; +export * from './ioArgoprojEventsV1alpha1PubSubEventSource'; +export * from './ioArgoprojEventsV1alpha1PulsarEventSource'; +export * from './ioArgoprojEventsV1alpha1PulsarTrigger'; +export * from './ioArgoprojEventsV1alpha1RateLimit'; +export * from './ioArgoprojEventsV1alpha1RedisEventSource'; +export * from './ioArgoprojEventsV1alpha1RedisStreamEventSource'; +export * from './ioArgoprojEventsV1alpha1Resource'; +export * from './ioArgoprojEventsV1alpha1ResourceEventSource'; +export * from './ioArgoprojEventsV1alpha1ResourceFilter'; +export * from './ioArgoprojEventsV1alpha1S3Artifact'; +export * from './ioArgoprojEventsV1alpha1S3Bucket'; +export * from './ioArgoprojEventsV1alpha1S3Filter'; +export * from './ioArgoprojEventsV1alpha1SASLConfig'; +export * from './ioArgoprojEventsV1alpha1SNSEventSource'; +export * from './ioArgoprojEventsV1alpha1SQSEventSource'; +export * from './ioArgoprojEventsV1alpha1SecureHeader'; +export * from './ioArgoprojEventsV1alpha1Selector'; +export * from './ioArgoprojEventsV1alpha1Sensor'; +export * from './ioArgoprojEventsV1alpha1SensorList'; +export * from './ioArgoprojEventsV1alpha1SensorSpec'; +export * from './ioArgoprojEventsV1alpha1SensorStatus'; +export * from './ioArgoprojEventsV1alpha1Service'; +export * from './ioArgoprojEventsV1alpha1SlackEventSource'; +export * from './ioArgoprojEventsV1alpha1SlackTrigger'; +export * from './ioArgoprojEventsV1alpha1StandardK8STrigger'; +export * from './ioArgoprojEventsV1alpha1Status'; +export * from './ioArgoprojEventsV1alpha1StatusPolicy'; +export * from './ioArgoprojEventsV1alpha1StorageGridEventSource'; +export * from './ioArgoprojEventsV1alpha1StorageGridFilter'; +export * from './ioArgoprojEventsV1alpha1StripeEventSource'; +export * from './ioArgoprojEventsV1alpha1TLSConfig'; +export * from './ioArgoprojEventsV1alpha1Template'; +export * from './ioArgoprojEventsV1alpha1TimeFilter'; +export * from './ioArgoprojEventsV1alpha1Trigger'; +export * from './ioArgoprojEventsV1alpha1TriggerParameter'; +export * from './ioArgoprojEventsV1alpha1TriggerParameterSource'; +export * from './ioArgoprojEventsV1alpha1TriggerPolicy'; +export * from './ioArgoprojEventsV1alpha1TriggerTemplate'; +export * from './ioArgoprojEventsV1alpha1URLArtifact'; +export * from './ioArgoprojEventsV1alpha1ValueFromSource'; +export * from './ioArgoprojEventsV1alpha1WatchPathConfig'; +export * from './ioArgoprojEventsV1alpha1WebhookContext'; +export * from './ioArgoprojEventsV1alpha1WebhookEventSource'; +export * from './ioArgoprojWorkflowV1alpha1ArchiveStrategy'; +export * from './ioArgoprojWorkflowV1alpha1Arguments'; +export * from './ioArgoprojWorkflowV1alpha1ArtGCStatus'; +export * from './ioArgoprojWorkflowV1alpha1Artifact'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactGC'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactGCSpec'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactGCStatus'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactLocation'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactPaths'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactResult'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +export * from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1AzureArtifact'; +export * from './ioArgoprojWorkflowV1alpha1AzureArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1Backoff'; +export * from './ioArgoprojWorkflowV1alpha1BasicAuth'; +export * from './ioArgoprojWorkflowV1alpha1Cache'; +export * from './ioArgoprojWorkflowV1alpha1ClientCertAuth'; +export * from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +export * from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +export * from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +export * from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +export * from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +export * from './ioArgoprojWorkflowV1alpha1CollectEventRequest'; +export * from './ioArgoprojWorkflowV1alpha1Column'; +export * from './ioArgoprojWorkflowV1alpha1Condition'; +export * from './ioArgoprojWorkflowV1alpha1ContainerNode'; +export * from './ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +export * from './ioArgoprojWorkflowV1alpha1ContainerSetTemplate'; +export * from './ioArgoprojWorkflowV1alpha1ContinueOn'; +export * from './ioArgoprojWorkflowV1alpha1Counter'; +export * from './ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +export * from './ioArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflow'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflowList'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflowSpec'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflowStatus'; +export * from './ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +export * from './ioArgoprojWorkflowV1alpha1DAGTask'; +export * from './ioArgoprojWorkflowV1alpha1DAGTemplate'; +export * from './ioArgoprojWorkflowV1alpha1Data'; +export * from './ioArgoprojWorkflowV1alpha1DataSource'; +export * from './ioArgoprojWorkflowV1alpha1Event'; +export * from './ioArgoprojWorkflowV1alpha1ExecutorConfig'; +export * from './ioArgoprojWorkflowV1alpha1GCSArtifact'; +export * from './ioArgoprojWorkflowV1alpha1GCSArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1Gauge'; +export * from './ioArgoprojWorkflowV1alpha1GetUserInfoResponse'; +export * from './ioArgoprojWorkflowV1alpha1GitArtifact'; +export * from './ioArgoprojWorkflowV1alpha1HDFSArtifact'; +export * from './ioArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1HTTP'; +export * from './ioArgoprojWorkflowV1alpha1HTTPArtifact'; +export * from './ioArgoprojWorkflowV1alpha1HTTPAuth'; +export * from './ioArgoprojWorkflowV1alpha1HTTPBodySource'; +export * from './ioArgoprojWorkflowV1alpha1HTTPHeader'; +export * from './ioArgoprojWorkflowV1alpha1HTTPHeaderSource'; +export * from './ioArgoprojWorkflowV1alpha1Header'; +export * from './ioArgoprojWorkflowV1alpha1Histogram'; +export * from './ioArgoprojWorkflowV1alpha1InfoResponse'; +export * from './ioArgoprojWorkflowV1alpha1Inputs'; +export * from './ioArgoprojWorkflowV1alpha1LabelKeys'; +export * from './ioArgoprojWorkflowV1alpha1LabelValueFrom'; +export * from './ioArgoprojWorkflowV1alpha1LabelValues'; +export * from './ioArgoprojWorkflowV1alpha1LifecycleHook'; +export * from './ioArgoprojWorkflowV1alpha1Link'; +export * from './ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +export * from './ioArgoprojWorkflowV1alpha1LogEntry'; +export * from './ioArgoprojWorkflowV1alpha1ManifestFrom'; +export * from './ioArgoprojWorkflowV1alpha1MemoizationStatus'; +export * from './ioArgoprojWorkflowV1alpha1Memoize'; +export * from './ioArgoprojWorkflowV1alpha1Metadata'; +export * from './ioArgoprojWorkflowV1alpha1MetricLabel'; +export * from './ioArgoprojWorkflowV1alpha1Metrics'; +export * from './ioArgoprojWorkflowV1alpha1Mutex'; +export * from './ioArgoprojWorkflowV1alpha1MutexHolding'; +export * from './ioArgoprojWorkflowV1alpha1MutexStatus'; +export * from './ioArgoprojWorkflowV1alpha1NodeResult'; +export * from './ioArgoprojWorkflowV1alpha1NodeStatus'; +export * from './ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +export * from './ioArgoprojWorkflowV1alpha1OAuth2Auth'; +export * from './ioArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +export * from './ioArgoprojWorkflowV1alpha1OSSArtifact'; +export * from './ioArgoprojWorkflowV1alpha1OSSArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1OSSLifecycleRule'; +export * from './ioArgoprojWorkflowV1alpha1Outputs'; +export * from './ioArgoprojWorkflowV1alpha1Parameter'; +export * from './ioArgoprojWorkflowV1alpha1PodGC'; +export * from './ioArgoprojWorkflowV1alpha1Prometheus'; +export * from './ioArgoprojWorkflowV1alpha1RawArtifact'; +export * from './ioArgoprojWorkflowV1alpha1ResourceTemplate'; +export * from './ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +export * from './ioArgoprojWorkflowV1alpha1RetryAffinity'; +export * from './ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +export * from './ioArgoprojWorkflowV1alpha1RetryStrategy'; +export * from './ioArgoprojWorkflowV1alpha1S3Artifact'; +export * from './ioArgoprojWorkflowV1alpha1S3ArtifactRepository'; +export * from './ioArgoprojWorkflowV1alpha1S3EncryptionOptions'; +export * from './ioArgoprojWorkflowV1alpha1ScriptTemplate'; +export * from './ioArgoprojWorkflowV1alpha1SemaphoreHolding'; +export * from './ioArgoprojWorkflowV1alpha1SemaphoreRef'; +export * from './ioArgoprojWorkflowV1alpha1SemaphoreStatus'; +export * from './ioArgoprojWorkflowV1alpha1Sequence'; +export * from './ioArgoprojWorkflowV1alpha1Submit'; +export * from './ioArgoprojWorkflowV1alpha1SubmitOpts'; +export * from './ioArgoprojWorkflowV1alpha1SuspendTemplate'; +export * from './ioArgoprojWorkflowV1alpha1Synchronization'; +export * from './ioArgoprojWorkflowV1alpha1SynchronizationStatus'; +export * from './ioArgoprojWorkflowV1alpha1TTLStrategy'; +export * from './ioArgoprojWorkflowV1alpha1TarStrategy'; +export * from './ioArgoprojWorkflowV1alpha1Template'; +export * from './ioArgoprojWorkflowV1alpha1TemplateRef'; +export * from './ioArgoprojWorkflowV1alpha1TransformationStep'; +export * from './ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +export * from './ioArgoprojWorkflowV1alpha1UserContainer'; +export * from './ioArgoprojWorkflowV1alpha1ValueFrom'; +export * from './ioArgoprojWorkflowV1alpha1Version'; +export * from './ioArgoprojWorkflowV1alpha1VolumeClaimGC'; +export * from './ioArgoprojWorkflowV1alpha1Workflow'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowEventBinding'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowLintRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowList'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowMetadata'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowSetRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowStatus'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowStep'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowStopRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplateList'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +export * from './ioArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +export * from './ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +export * from './ioK8sApiCoreV1Affinity'; +export * from './ioK8sApiCoreV1AzureDiskVolumeSource'; +export * from './ioK8sApiCoreV1AzureFileVolumeSource'; +export * from './ioK8sApiCoreV1CSIVolumeSource'; +export * from './ioK8sApiCoreV1Capabilities'; +export * from './ioK8sApiCoreV1CephFSVolumeSource'; +export * from './ioK8sApiCoreV1CinderVolumeSource'; +export * from './ioK8sApiCoreV1ConfigMapEnvSource'; +export * from './ioK8sApiCoreV1ConfigMapKeySelector'; +export * from './ioK8sApiCoreV1ConfigMapProjection'; +export * from './ioK8sApiCoreV1ConfigMapVolumeSource'; +export * from './ioK8sApiCoreV1Container'; +export * from './ioK8sApiCoreV1ContainerPort'; +export * from './ioK8sApiCoreV1DownwardAPIProjection'; +export * from './ioK8sApiCoreV1DownwardAPIVolumeFile'; +export * from './ioK8sApiCoreV1DownwardAPIVolumeSource'; +export * from './ioK8sApiCoreV1EmptyDirVolumeSource'; +export * from './ioK8sApiCoreV1EnvFromSource'; +export * from './ioK8sApiCoreV1EnvVar'; +export * from './ioK8sApiCoreV1EnvVarSource'; +export * from './ioK8sApiCoreV1EphemeralVolumeSource'; +export * from './ioK8sApiCoreV1Event'; +export * from './ioK8sApiCoreV1EventSeries'; +export * from './ioK8sApiCoreV1EventSource'; +export * from './ioK8sApiCoreV1ExecAction'; +export * from './ioK8sApiCoreV1FCVolumeSource'; +export * from './ioK8sApiCoreV1FlexVolumeSource'; +export * from './ioK8sApiCoreV1FlockerVolumeSource'; +export * from './ioK8sApiCoreV1GCEPersistentDiskVolumeSource'; +export * from './ioK8sApiCoreV1GRPCAction'; +export * from './ioK8sApiCoreV1GitRepoVolumeSource'; +export * from './ioK8sApiCoreV1GlusterfsVolumeSource'; +export * from './ioK8sApiCoreV1HTTPGetAction'; +export * from './ioK8sApiCoreV1HTTPHeader'; +export * from './ioK8sApiCoreV1HostAlias'; +export * from './ioK8sApiCoreV1HostPathVolumeSource'; +export * from './ioK8sApiCoreV1ISCSIVolumeSource'; +export * from './ioK8sApiCoreV1KeyToPath'; +export * from './ioK8sApiCoreV1Lifecycle'; +export * from './ioK8sApiCoreV1LifecycleHandler'; +export * from './ioK8sApiCoreV1LocalObjectReference'; +export * from './ioK8sApiCoreV1NFSVolumeSource'; +export * from './ioK8sApiCoreV1NodeAffinity'; +export * from './ioK8sApiCoreV1NodeSelector'; +export * from './ioK8sApiCoreV1NodeSelectorRequirement'; +export * from './ioK8sApiCoreV1NodeSelectorTerm'; +export * from './ioK8sApiCoreV1ObjectFieldSelector'; +export * from './ioK8sApiCoreV1ObjectReference'; +export * from './ioK8sApiCoreV1PersistentVolumeClaim'; +export * from './ioK8sApiCoreV1PersistentVolumeClaimCondition'; +export * from './ioK8sApiCoreV1PersistentVolumeClaimSpec'; +export * from './ioK8sApiCoreV1PersistentVolumeClaimStatus'; +export * from './ioK8sApiCoreV1PersistentVolumeClaimTemplate'; +export * from './ioK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +export * from './ioK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +export * from './ioK8sApiCoreV1PodAffinity'; +export * from './ioK8sApiCoreV1PodAffinityTerm'; +export * from './ioK8sApiCoreV1PodAntiAffinity'; +export * from './ioK8sApiCoreV1PodDNSConfig'; +export * from './ioK8sApiCoreV1PodDNSConfigOption'; +export * from './ioK8sApiCoreV1PodSecurityContext'; +export * from './ioK8sApiCoreV1PortworxVolumeSource'; +export * from './ioK8sApiCoreV1PreferredSchedulingTerm'; +export * from './ioK8sApiCoreV1Probe'; +export * from './ioK8sApiCoreV1ProjectedVolumeSource'; +export * from './ioK8sApiCoreV1QuobyteVolumeSource'; +export * from './ioK8sApiCoreV1RBDVolumeSource'; +export * from './ioK8sApiCoreV1ResourceFieldSelector'; +export * from './ioK8sApiCoreV1ResourceRequirements'; +export * from './ioK8sApiCoreV1SELinuxOptions'; +export * from './ioK8sApiCoreV1ScaleIOVolumeSource'; +export * from './ioK8sApiCoreV1SeccompProfile'; +export * from './ioK8sApiCoreV1SecretEnvSource'; +export * from './ioK8sApiCoreV1SecretKeySelector'; +export * from './ioK8sApiCoreV1SecretProjection'; +export * from './ioK8sApiCoreV1SecretVolumeSource'; +export * from './ioK8sApiCoreV1SecurityContext'; +export * from './ioK8sApiCoreV1ServiceAccountTokenProjection'; +export * from './ioK8sApiCoreV1ServicePort'; +export * from './ioK8sApiCoreV1StorageOSVolumeSource'; +export * from './ioK8sApiCoreV1Sysctl'; +export * from './ioK8sApiCoreV1TCPSocketAction'; +export * from './ioK8sApiCoreV1Toleration'; +export * from './ioK8sApiCoreV1TypedLocalObjectReference'; +export * from './ioK8sApiCoreV1Volume'; +export * from './ioK8sApiCoreV1VolumeDevice'; +export * from './ioK8sApiCoreV1VolumeMount'; +export * from './ioK8sApiCoreV1VolumeProjection'; +export * from './ioK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +export * from './ioK8sApiCoreV1WeightedPodAffinityTerm'; +export * from './ioK8sApiCoreV1WindowsSecurityContextOptions'; +export * from './ioK8sApiPolicyV1PodDisruptionBudgetSpec'; +export * from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; +export * from './ioK8sApimachineryPkgApisMetaV1GroupVersionResource'; +export * from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; +export * from './ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +export * from './ioK8sApimachineryPkgApisMetaV1ListMeta'; +export * from './ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +export * from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; +export * from './ioK8sApimachineryPkgApisMetaV1OwnerReference'; +export * from './ioK8sApimachineryPkgApisMetaV1StatusCause'; +export * from './sensorCreateSensorRequest'; +export * from './sensorLogEntry'; +export * from './sensorSensorWatchEvent'; +export * from './sensorUpdateSensorRequest'; +export * from './streamResultOfEventsourceEventSourceWatchEvent'; +export * from './streamResultOfEventsourceLogEntry'; +export * from './streamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +export * from './streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +export * from './streamResultOfIoK8sApiCoreV1Event'; +export * from './streamResultOfSensorLogEntry'; +export * from './streamResultOfSensorSensorWatchEvent'; + +import * as fs from 'fs'; + +export interface RequestDetailedFile { + value: Buffer; + options?: { + filename?: string; + contentType?: string; + } +} + +export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile; + + +import { EventsourceCreateEventSourceRequest } from './eventsourceCreateEventSourceRequest'; +import { EventsourceEventSourceWatchEvent } from './eventsourceEventSourceWatchEvent'; +import { EventsourceLogEntry } from './eventsourceLogEntry'; +import { EventsourceUpdateEventSourceRequest } from './eventsourceUpdateEventSourceRequest'; +import { GoogleProtobufAny } from './googleProtobufAny'; +import { GrpcGatewayRuntimeError } from './grpcGatewayRuntimeError'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { IoArgoprojEventsV1alpha1AMQPConsumeConfig } from './ioArgoprojEventsV1alpha1AMQPConsumeConfig'; +import { IoArgoprojEventsV1alpha1AMQPEventSource } from './ioArgoprojEventsV1alpha1AMQPEventSource'; +import { IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig } from './ioArgoprojEventsV1alpha1AMQPExchangeDeclareConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueBindConfig } from './ioArgoprojEventsV1alpha1AMQPQueueBindConfig'; +import { IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig } from './ioArgoprojEventsV1alpha1AMQPQueueDeclareConfig'; +import { IoArgoprojEventsV1alpha1AWSLambdaTrigger } from './ioArgoprojEventsV1alpha1AWSLambdaTrigger'; +import { IoArgoprojEventsV1alpha1Amount } from './ioArgoprojEventsV1alpha1Amount'; +import { IoArgoprojEventsV1alpha1ArgoWorkflowTrigger } from './ioArgoprojEventsV1alpha1ArgoWorkflowTrigger'; +import { IoArgoprojEventsV1alpha1ArtifactLocation } from './ioArgoprojEventsV1alpha1ArtifactLocation'; +import { IoArgoprojEventsV1alpha1AzureEventHubsTrigger } from './ioArgoprojEventsV1alpha1AzureEventHubsTrigger'; +import { IoArgoprojEventsV1alpha1AzureEventsHubEventSource } from './ioArgoprojEventsV1alpha1AzureEventsHubEventSource'; +import { IoArgoprojEventsV1alpha1Backoff } from './ioArgoprojEventsV1alpha1Backoff'; +import { IoArgoprojEventsV1alpha1BasicAuth } from './ioArgoprojEventsV1alpha1BasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketAuth } from './ioArgoprojEventsV1alpha1BitbucketAuth'; +import { IoArgoprojEventsV1alpha1BitbucketBasicAuth } from './ioArgoprojEventsV1alpha1BitbucketBasicAuth'; +import { IoArgoprojEventsV1alpha1BitbucketEventSource } from './ioArgoprojEventsV1alpha1BitbucketEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketRepository } from './ioArgoprojEventsV1alpha1BitbucketRepository'; +import { IoArgoprojEventsV1alpha1BitbucketServerEventSource } from './ioArgoprojEventsV1alpha1BitbucketServerEventSource'; +import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from './ioArgoprojEventsV1alpha1BitbucketServerRepository'; +import { IoArgoprojEventsV1alpha1CalendarEventSource } from './ioArgoprojEventsV1alpha1CalendarEventSource'; +import { IoArgoprojEventsV1alpha1CatchupConfiguration } from './ioArgoprojEventsV1alpha1CatchupConfiguration'; +import { IoArgoprojEventsV1alpha1Condition } from './ioArgoprojEventsV1alpha1Condition'; +import { IoArgoprojEventsV1alpha1ConditionsResetByTime } from './ioArgoprojEventsV1alpha1ConditionsResetByTime'; +import { IoArgoprojEventsV1alpha1ConditionsResetCriteria } from './ioArgoprojEventsV1alpha1ConditionsResetCriteria'; +import { IoArgoprojEventsV1alpha1ConfigMapPersistence } from './ioArgoprojEventsV1alpha1ConfigMapPersistence'; +import { IoArgoprojEventsV1alpha1CustomTrigger } from './ioArgoprojEventsV1alpha1CustomTrigger'; +import { IoArgoprojEventsV1alpha1DataFilter } from './ioArgoprojEventsV1alpha1DataFilter'; +import { IoArgoprojEventsV1alpha1EmitterEventSource } from './ioArgoprojEventsV1alpha1EmitterEventSource'; +import { IoArgoprojEventsV1alpha1EventContext } from './ioArgoprojEventsV1alpha1EventContext'; +import { IoArgoprojEventsV1alpha1EventDependency } from './ioArgoprojEventsV1alpha1EventDependency'; +import { IoArgoprojEventsV1alpha1EventDependencyFilter } from './ioArgoprojEventsV1alpha1EventDependencyFilter'; +import { IoArgoprojEventsV1alpha1EventDependencyTransformer } from './ioArgoprojEventsV1alpha1EventDependencyTransformer'; +import { IoArgoprojEventsV1alpha1EventPersistence } from './ioArgoprojEventsV1alpha1EventPersistence'; +import { IoArgoprojEventsV1alpha1EventSource } from './ioArgoprojEventsV1alpha1EventSource'; +import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter'; +import { IoArgoprojEventsV1alpha1EventSourceList } from './ioArgoprojEventsV1alpha1EventSourceList'; +import { IoArgoprojEventsV1alpha1EventSourceSpec } from './ioArgoprojEventsV1alpha1EventSourceSpec'; +import { IoArgoprojEventsV1alpha1EventSourceStatus } from './ioArgoprojEventsV1alpha1EventSourceStatus'; +import { IoArgoprojEventsV1alpha1ExprFilter } from './ioArgoprojEventsV1alpha1ExprFilter'; +import { IoArgoprojEventsV1alpha1FileArtifact } from './ioArgoprojEventsV1alpha1FileArtifact'; +import { IoArgoprojEventsV1alpha1FileEventSource } from './ioArgoprojEventsV1alpha1FileEventSource'; +import { IoArgoprojEventsV1alpha1GenericEventSource } from './ioArgoprojEventsV1alpha1GenericEventSource'; +import { IoArgoprojEventsV1alpha1GitArtifact } from './ioArgoprojEventsV1alpha1GitArtifact'; +import { IoArgoprojEventsV1alpha1GitCreds } from './ioArgoprojEventsV1alpha1GitCreds'; +import { IoArgoprojEventsV1alpha1GitRemoteConfig } from './ioArgoprojEventsV1alpha1GitRemoteConfig'; +import { IoArgoprojEventsV1alpha1GithubAppCreds } from './ioArgoprojEventsV1alpha1GithubAppCreds'; +import { IoArgoprojEventsV1alpha1GithubEventSource } from './ioArgoprojEventsV1alpha1GithubEventSource'; +import { IoArgoprojEventsV1alpha1GitlabEventSource } from './ioArgoprojEventsV1alpha1GitlabEventSource'; +import { IoArgoprojEventsV1alpha1HDFSEventSource } from './ioArgoprojEventsV1alpha1HDFSEventSource'; +import { IoArgoprojEventsV1alpha1HTTPTrigger } from './ioArgoprojEventsV1alpha1HTTPTrigger'; +import { IoArgoprojEventsV1alpha1Int64OrString } from './ioArgoprojEventsV1alpha1Int64OrString'; +import { IoArgoprojEventsV1alpha1K8SResourcePolicy } from './ioArgoprojEventsV1alpha1K8SResourcePolicy'; +import { IoArgoprojEventsV1alpha1KafkaConsumerGroup } from './ioArgoprojEventsV1alpha1KafkaConsumerGroup'; +import { IoArgoprojEventsV1alpha1KafkaEventSource } from './ioArgoprojEventsV1alpha1KafkaEventSource'; +import { IoArgoprojEventsV1alpha1KafkaTrigger } from './ioArgoprojEventsV1alpha1KafkaTrigger'; +import { IoArgoprojEventsV1alpha1LogTrigger } from './ioArgoprojEventsV1alpha1LogTrigger'; +import { IoArgoprojEventsV1alpha1MQTTEventSource } from './ioArgoprojEventsV1alpha1MQTTEventSource'; +import { IoArgoprojEventsV1alpha1Metadata } from './ioArgoprojEventsV1alpha1Metadata'; +import { IoArgoprojEventsV1alpha1NATSAuth } from './ioArgoprojEventsV1alpha1NATSAuth'; +import { IoArgoprojEventsV1alpha1NATSEventsSource } from './ioArgoprojEventsV1alpha1NATSEventsSource'; +import { IoArgoprojEventsV1alpha1NATSTrigger } from './ioArgoprojEventsV1alpha1NATSTrigger'; +import { IoArgoprojEventsV1alpha1NSQEventSource } from './ioArgoprojEventsV1alpha1NSQEventSource'; +import { IoArgoprojEventsV1alpha1OpenWhiskTrigger } from './ioArgoprojEventsV1alpha1OpenWhiskTrigger'; +import { IoArgoprojEventsV1alpha1OwnedRepositories } from './ioArgoprojEventsV1alpha1OwnedRepositories'; +import { IoArgoprojEventsV1alpha1PayloadField } from './ioArgoprojEventsV1alpha1PayloadField'; +import { IoArgoprojEventsV1alpha1PubSubEventSource } from './ioArgoprojEventsV1alpha1PubSubEventSource'; +import { IoArgoprojEventsV1alpha1PulsarEventSource } from './ioArgoprojEventsV1alpha1PulsarEventSource'; +import { IoArgoprojEventsV1alpha1PulsarTrigger } from './ioArgoprojEventsV1alpha1PulsarTrigger'; +import { IoArgoprojEventsV1alpha1RateLimit } from './ioArgoprojEventsV1alpha1RateLimit'; +import { IoArgoprojEventsV1alpha1RedisEventSource } from './ioArgoprojEventsV1alpha1RedisEventSource'; +import { IoArgoprojEventsV1alpha1RedisStreamEventSource } from './ioArgoprojEventsV1alpha1RedisStreamEventSource'; +import { IoArgoprojEventsV1alpha1Resource } from './ioArgoprojEventsV1alpha1Resource'; +import { IoArgoprojEventsV1alpha1ResourceEventSource } from './ioArgoprojEventsV1alpha1ResourceEventSource'; +import { IoArgoprojEventsV1alpha1ResourceFilter } from './ioArgoprojEventsV1alpha1ResourceFilter'; +import { IoArgoprojEventsV1alpha1S3Artifact } from './ioArgoprojEventsV1alpha1S3Artifact'; +import { IoArgoprojEventsV1alpha1S3Bucket } from './ioArgoprojEventsV1alpha1S3Bucket'; +import { IoArgoprojEventsV1alpha1S3Filter } from './ioArgoprojEventsV1alpha1S3Filter'; +import { IoArgoprojEventsV1alpha1SASLConfig } from './ioArgoprojEventsV1alpha1SASLConfig'; +import { IoArgoprojEventsV1alpha1SNSEventSource } from './ioArgoprojEventsV1alpha1SNSEventSource'; +import { IoArgoprojEventsV1alpha1SQSEventSource } from './ioArgoprojEventsV1alpha1SQSEventSource'; +import { IoArgoprojEventsV1alpha1SecureHeader } from './ioArgoprojEventsV1alpha1SecureHeader'; +import { IoArgoprojEventsV1alpha1Selector } from './ioArgoprojEventsV1alpha1Selector'; +import { IoArgoprojEventsV1alpha1Sensor } from './ioArgoprojEventsV1alpha1Sensor'; +import { IoArgoprojEventsV1alpha1SensorList } from './ioArgoprojEventsV1alpha1SensorList'; +import { IoArgoprojEventsV1alpha1SensorSpec } from './ioArgoprojEventsV1alpha1SensorSpec'; +import { IoArgoprojEventsV1alpha1SensorStatus } from './ioArgoprojEventsV1alpha1SensorStatus'; +import { IoArgoprojEventsV1alpha1Service } from './ioArgoprojEventsV1alpha1Service'; +import { IoArgoprojEventsV1alpha1SlackEventSource } from './ioArgoprojEventsV1alpha1SlackEventSource'; +import { IoArgoprojEventsV1alpha1SlackTrigger } from './ioArgoprojEventsV1alpha1SlackTrigger'; +import { IoArgoprojEventsV1alpha1StandardK8STrigger } from './ioArgoprojEventsV1alpha1StandardK8STrigger'; +import { IoArgoprojEventsV1alpha1Status } from './ioArgoprojEventsV1alpha1Status'; +import { IoArgoprojEventsV1alpha1StatusPolicy } from './ioArgoprojEventsV1alpha1StatusPolicy'; +import { IoArgoprojEventsV1alpha1StorageGridEventSource } from './ioArgoprojEventsV1alpha1StorageGridEventSource'; +import { IoArgoprojEventsV1alpha1StorageGridFilter } from './ioArgoprojEventsV1alpha1StorageGridFilter'; +import { IoArgoprojEventsV1alpha1StripeEventSource } from './ioArgoprojEventsV1alpha1StripeEventSource'; +import { IoArgoprojEventsV1alpha1TLSConfig } from './ioArgoprojEventsV1alpha1TLSConfig'; +import { IoArgoprojEventsV1alpha1Template } from './ioArgoprojEventsV1alpha1Template'; +import { IoArgoprojEventsV1alpha1TimeFilter } from './ioArgoprojEventsV1alpha1TimeFilter'; +import { IoArgoprojEventsV1alpha1Trigger } from './ioArgoprojEventsV1alpha1Trigger'; +import { IoArgoprojEventsV1alpha1TriggerParameter } from './ioArgoprojEventsV1alpha1TriggerParameter'; +import { IoArgoprojEventsV1alpha1TriggerParameterSource } from './ioArgoprojEventsV1alpha1TriggerParameterSource'; +import { IoArgoprojEventsV1alpha1TriggerPolicy } from './ioArgoprojEventsV1alpha1TriggerPolicy'; +import { IoArgoprojEventsV1alpha1TriggerTemplate } from './ioArgoprojEventsV1alpha1TriggerTemplate'; +import { IoArgoprojEventsV1alpha1URLArtifact } from './ioArgoprojEventsV1alpha1URLArtifact'; +import { IoArgoprojEventsV1alpha1ValueFromSource } from './ioArgoprojEventsV1alpha1ValueFromSource'; +import { IoArgoprojEventsV1alpha1WatchPathConfig } from './ioArgoprojEventsV1alpha1WatchPathConfig'; +import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext'; +import { IoArgoprojEventsV1alpha1WebhookEventSource } from './ioArgoprojEventsV1alpha1WebhookEventSource'; +import { IoArgoprojWorkflowV1alpha1ArchiveStrategy } from './ioArgoprojWorkflowV1alpha1ArchiveStrategy'; +import { IoArgoprojWorkflowV1alpha1Arguments } from './ioArgoprojWorkflowV1alpha1Arguments'; +import { IoArgoprojWorkflowV1alpha1ArtGCStatus } from './ioArgoprojWorkflowV1alpha1ArtGCStatus'; +import { IoArgoprojWorkflowV1alpha1Artifact } from './ioArgoprojWorkflowV1alpha1Artifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactGC } from './ioArgoprojWorkflowV1alpha1ArtifactGC'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCSpec } from './ioArgoprojWorkflowV1alpha1ArtifactGCSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactGCStatus } from './ioArgoprojWorkflowV1alpha1ArtifactGCStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactLocation } from './ioArgoprojWorkflowV1alpha1ArtifactLocation'; +import { IoArgoprojWorkflowV1alpha1ArtifactNodeSpec } from './ioArgoprojWorkflowV1alpha1ArtifactNodeSpec'; +import { IoArgoprojWorkflowV1alpha1ArtifactPaths } from './ioArgoprojWorkflowV1alpha1ArtifactPaths'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepository } from './ioArgoprojWorkflowV1alpha1ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRef'; +import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus } from './ioArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactResult } from './ioArgoprojWorkflowV1alpha1ArtifactResult'; +import { IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus } from './ioArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifact } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifact'; +import { IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository } from './ioArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1AzureArtifact } from './ioArgoprojWorkflowV1alpha1AzureArtifact'; +import { IoArgoprojWorkflowV1alpha1AzureArtifactRepository } from './ioArgoprojWorkflowV1alpha1AzureArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Backoff } from './ioArgoprojWorkflowV1alpha1Backoff'; +import { IoArgoprojWorkflowV1alpha1BasicAuth } from './ioArgoprojWorkflowV1alpha1BasicAuth'; +import { IoArgoprojWorkflowV1alpha1Cache } from './ioArgoprojWorkflowV1alpha1Cache'; +import { IoArgoprojWorkflowV1alpha1ClientCertAuth } from './ioArgoprojWorkflowV1alpha1ClientCertAuth'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest } from './ioArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1CollectEventRequest } from './ioArgoprojWorkflowV1alpha1CollectEventRequest'; +import { IoArgoprojWorkflowV1alpha1Column } from './ioArgoprojWorkflowV1alpha1Column'; +import { IoArgoprojWorkflowV1alpha1Condition } from './ioArgoprojWorkflowV1alpha1Condition'; +import { IoArgoprojWorkflowV1alpha1ContainerNode } from './ioArgoprojWorkflowV1alpha1ContainerNode'; +import { IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy } from './ioArgoprojWorkflowV1alpha1ContainerSetRetryStrategy'; +import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from './ioArgoprojWorkflowV1alpha1ContainerSetTemplate'; +import { IoArgoprojWorkflowV1alpha1ContinueOn } from './ioArgoprojWorkflowV1alpha1ContinueOn'; +import { IoArgoprojWorkflowV1alpha1Counter } from './ioArgoprojWorkflowV1alpha1Counter'; +import { IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest } from './ioArgoprojWorkflowV1alpha1CreateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1CreateS3BucketOptions } from './ioArgoprojWorkflowV1alpha1CreateS3BucketOptions'; +import { IoArgoprojWorkflowV1alpha1CronWorkflow } from './ioArgoprojWorkflowV1alpha1CronWorkflow'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowList } from './ioArgoprojWorkflowV1alpha1CronWorkflowList'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest } from './ioArgoprojWorkflowV1alpha1CronWorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSpec } from './ioArgoprojWorkflowV1alpha1CronWorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowStatus } from './ioArgoprojWorkflowV1alpha1CronWorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest } from './ioArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1DAGTask } from './ioArgoprojWorkflowV1alpha1DAGTask'; +import { IoArgoprojWorkflowV1alpha1DAGTemplate } from './ioArgoprojWorkflowV1alpha1DAGTemplate'; +import { IoArgoprojWorkflowV1alpha1Data } from './ioArgoprojWorkflowV1alpha1Data'; +import { IoArgoprojWorkflowV1alpha1DataSource } from './ioArgoprojWorkflowV1alpha1DataSource'; +import { IoArgoprojWorkflowV1alpha1Event } from './ioArgoprojWorkflowV1alpha1Event'; +import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from './ioArgoprojWorkflowV1alpha1ExecutorConfig'; +import { IoArgoprojWorkflowV1alpha1GCSArtifact } from './ioArgoprojWorkflowV1alpha1GCSArtifact'; +import { IoArgoprojWorkflowV1alpha1GCSArtifactRepository } from './ioArgoprojWorkflowV1alpha1GCSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1Gauge } from './ioArgoprojWorkflowV1alpha1Gauge'; +import { IoArgoprojWorkflowV1alpha1GetUserInfoResponse } from './ioArgoprojWorkflowV1alpha1GetUserInfoResponse'; +import { IoArgoprojWorkflowV1alpha1GitArtifact } from './ioArgoprojWorkflowV1alpha1GitArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifact } from './ioArgoprojWorkflowV1alpha1HDFSArtifact'; +import { IoArgoprojWorkflowV1alpha1HDFSArtifactRepository } from './ioArgoprojWorkflowV1alpha1HDFSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1HTTP } from './ioArgoprojWorkflowV1alpha1HTTP'; +import { IoArgoprojWorkflowV1alpha1HTTPArtifact } from './ioArgoprojWorkflowV1alpha1HTTPArtifact'; +import { IoArgoprojWorkflowV1alpha1HTTPAuth } from './ioArgoprojWorkflowV1alpha1HTTPAuth'; +import { IoArgoprojWorkflowV1alpha1HTTPBodySource } from './ioArgoprojWorkflowV1alpha1HTTPBodySource'; +import { IoArgoprojWorkflowV1alpha1HTTPHeader } from './ioArgoprojWorkflowV1alpha1HTTPHeader'; +import { IoArgoprojWorkflowV1alpha1HTTPHeaderSource } from './ioArgoprojWorkflowV1alpha1HTTPHeaderSource'; +import { IoArgoprojWorkflowV1alpha1Header } from './ioArgoprojWorkflowV1alpha1Header'; +import { IoArgoprojWorkflowV1alpha1Histogram } from './ioArgoprojWorkflowV1alpha1Histogram'; +import { IoArgoprojWorkflowV1alpha1InfoResponse } from './ioArgoprojWorkflowV1alpha1InfoResponse'; +import { IoArgoprojWorkflowV1alpha1Inputs } from './ioArgoprojWorkflowV1alpha1Inputs'; +import { IoArgoprojWorkflowV1alpha1LabelKeys } from './ioArgoprojWorkflowV1alpha1LabelKeys'; +import { IoArgoprojWorkflowV1alpha1LabelValueFrom } from './ioArgoprojWorkflowV1alpha1LabelValueFrom'; +import { IoArgoprojWorkflowV1alpha1LabelValues } from './ioArgoprojWorkflowV1alpha1LabelValues'; +import { IoArgoprojWorkflowV1alpha1LifecycleHook } from './ioArgoprojWorkflowV1alpha1LifecycleHook'; +import { IoArgoprojWorkflowV1alpha1Link } from './ioArgoprojWorkflowV1alpha1Link'; +import { IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest } from './ioArgoprojWorkflowV1alpha1LintCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from './ioArgoprojWorkflowV1alpha1LogEntry'; +import { IoArgoprojWorkflowV1alpha1ManifestFrom } from './ioArgoprojWorkflowV1alpha1ManifestFrom'; +import { IoArgoprojWorkflowV1alpha1MemoizationStatus } from './ioArgoprojWorkflowV1alpha1MemoizationStatus'; +import { IoArgoprojWorkflowV1alpha1Memoize } from './ioArgoprojWorkflowV1alpha1Memoize'; +import { IoArgoprojWorkflowV1alpha1Metadata } from './ioArgoprojWorkflowV1alpha1Metadata'; +import { IoArgoprojWorkflowV1alpha1MetricLabel } from './ioArgoprojWorkflowV1alpha1MetricLabel'; +import { IoArgoprojWorkflowV1alpha1Metrics } from './ioArgoprojWorkflowV1alpha1Metrics'; +import { IoArgoprojWorkflowV1alpha1Mutex } from './ioArgoprojWorkflowV1alpha1Mutex'; +import { IoArgoprojWorkflowV1alpha1MutexHolding } from './ioArgoprojWorkflowV1alpha1MutexHolding'; +import { IoArgoprojWorkflowV1alpha1MutexStatus } from './ioArgoprojWorkflowV1alpha1MutexStatus'; +import { IoArgoprojWorkflowV1alpha1NodeResult } from './ioArgoprojWorkflowV1alpha1NodeResult'; +import { IoArgoprojWorkflowV1alpha1NodeStatus } from './ioArgoprojWorkflowV1alpha1NodeStatus'; +import { IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus } from './ioArgoprojWorkflowV1alpha1NodeSynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1OAuth2Auth } from './ioArgoprojWorkflowV1alpha1OAuth2Auth'; +import { IoArgoprojWorkflowV1alpha1OAuth2EndpointParam } from './ioArgoprojWorkflowV1alpha1OAuth2EndpointParam'; +import { IoArgoprojWorkflowV1alpha1OSSArtifact } from './ioArgoprojWorkflowV1alpha1OSSArtifact'; +import { IoArgoprojWorkflowV1alpha1OSSArtifactRepository } from './ioArgoprojWorkflowV1alpha1OSSArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from './ioArgoprojWorkflowV1alpha1OSSLifecycleRule'; +import { IoArgoprojWorkflowV1alpha1Outputs } from './ioArgoprojWorkflowV1alpha1Outputs'; +import { IoArgoprojWorkflowV1alpha1Parameter } from './ioArgoprojWorkflowV1alpha1Parameter'; +import { IoArgoprojWorkflowV1alpha1PodGC } from './ioArgoprojWorkflowV1alpha1PodGC'; +import { IoArgoprojWorkflowV1alpha1Prometheus } from './ioArgoprojWorkflowV1alpha1Prometheus'; +import { IoArgoprojWorkflowV1alpha1RawArtifact } from './ioArgoprojWorkflowV1alpha1RawArtifact'; +import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from './ioArgoprojWorkflowV1alpha1ResourceTemplate'; +import { IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest } from './ioArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryAffinity } from './ioArgoprojWorkflowV1alpha1RetryAffinity'; +import { IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest } from './ioArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1RetryStrategy } from './ioArgoprojWorkflowV1alpha1RetryStrategy'; +import { IoArgoprojWorkflowV1alpha1S3Artifact } from './ioArgoprojWorkflowV1alpha1S3Artifact'; +import { IoArgoprojWorkflowV1alpha1S3ArtifactRepository } from './ioArgoprojWorkflowV1alpha1S3ArtifactRepository'; +import { IoArgoprojWorkflowV1alpha1S3EncryptionOptions } from './ioArgoprojWorkflowV1alpha1S3EncryptionOptions'; +import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from './ioArgoprojWorkflowV1alpha1ScriptTemplate'; +import { IoArgoprojWorkflowV1alpha1SemaphoreHolding } from './ioArgoprojWorkflowV1alpha1SemaphoreHolding'; +import { IoArgoprojWorkflowV1alpha1SemaphoreRef } from './ioArgoprojWorkflowV1alpha1SemaphoreRef'; +import { IoArgoprojWorkflowV1alpha1SemaphoreStatus } from './ioArgoprojWorkflowV1alpha1SemaphoreStatus'; +import { IoArgoprojWorkflowV1alpha1Sequence } from './ioArgoprojWorkflowV1alpha1Sequence'; +import { IoArgoprojWorkflowV1alpha1Submit } from './ioArgoprojWorkflowV1alpha1Submit'; +import { IoArgoprojWorkflowV1alpha1SubmitOpts } from './ioArgoprojWorkflowV1alpha1SubmitOpts'; +import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from './ioArgoprojWorkflowV1alpha1SuspendTemplate'; +import { IoArgoprojWorkflowV1alpha1Synchronization } from './ioArgoprojWorkflowV1alpha1Synchronization'; +import { IoArgoprojWorkflowV1alpha1SynchronizationStatus } from './ioArgoprojWorkflowV1alpha1SynchronizationStatus'; +import { IoArgoprojWorkflowV1alpha1TTLStrategy } from './ioArgoprojWorkflowV1alpha1TTLStrategy'; +import { IoArgoprojWorkflowV1alpha1TarStrategy } from './ioArgoprojWorkflowV1alpha1TarStrategy'; +import { IoArgoprojWorkflowV1alpha1Template } from './ioArgoprojWorkflowV1alpha1Template'; +import { IoArgoprojWorkflowV1alpha1TemplateRef } from './ioArgoprojWorkflowV1alpha1TemplateRef'; +import { IoArgoprojWorkflowV1alpha1TransformationStep } from './ioArgoprojWorkflowV1alpha1TransformationStep'; +import { IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest } from './ioArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest'; +import { IoArgoprojWorkflowV1alpha1UserContainer } from './ioArgoprojWorkflowV1alpha1UserContainer'; +import { IoArgoprojWorkflowV1alpha1ValueFrom } from './ioArgoprojWorkflowV1alpha1ValueFrom'; +import { IoArgoprojWorkflowV1alpha1Version } from './ioArgoprojWorkflowV1alpha1Version'; +import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from './ioArgoprojWorkflowV1alpha1VolumeClaimGC'; +import { IoArgoprojWorkflowV1alpha1Workflow } from './ioArgoprojWorkflowV1alpha1Workflow'; +import { IoArgoprojWorkflowV1alpha1WorkflowCreateRequest } from './ioArgoprojWorkflowV1alpha1WorkflowCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBinding } from './ioArgoprojWorkflowV1alpha1WorkflowEventBinding'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingList } from './ioArgoprojWorkflowV1alpha1WorkflowEventBindingList'; +import { IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec } from './ioArgoprojWorkflowV1alpha1WorkflowEventBindingSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC } from './ioArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC'; +import { IoArgoprojWorkflowV1alpha1WorkflowLintRequest } from './ioArgoprojWorkflowV1alpha1WorkflowLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from './ioArgoprojWorkflowV1alpha1WorkflowList'; +import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from './ioArgoprojWorkflowV1alpha1WorkflowMetadata'; +import { IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest } from './ioArgoprojWorkflowV1alpha1WorkflowResubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowResumeRequest } from './ioArgoprojWorkflowV1alpha1WorkflowResumeRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowRetryRequest } from './ioArgoprojWorkflowV1alpha1WorkflowRetryRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSetRequest } from './ioArgoprojWorkflowV1alpha1WorkflowSetRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSpec } from './ioArgoprojWorkflowV1alpha1WorkflowSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowStatus } from './ioArgoprojWorkflowV1alpha1WorkflowStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowStep } from './ioArgoprojWorkflowV1alpha1WorkflowStep'; +import { IoArgoprojWorkflowV1alpha1WorkflowStopRequest } from './ioArgoprojWorkflowV1alpha1WorkflowStopRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest } from './ioArgoprojWorkflowV1alpha1WorkflowSubmitRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest } from './ioArgoprojWorkflowV1alpha1WorkflowSuspendRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec } from './ioArgoprojWorkflowV1alpha1WorkflowTaskSetSpec'; +import { IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus } from './ioArgoprojWorkflowV1alpha1WorkflowTaskSetStatus'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplate } from './ioArgoprojWorkflowV1alpha1WorkflowTemplate'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateList'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateRef'; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest } from './ioArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest } from './ioArgoprojWorkflowV1alpha1WorkflowTerminateRequest'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from './ioArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource } from './ioK8sApiCoreV1AWSElasticBlockStoreVolumeSource'; +import { IoK8sApiCoreV1Affinity } from './ioK8sApiCoreV1Affinity'; +import { IoK8sApiCoreV1AzureDiskVolumeSource } from './ioK8sApiCoreV1AzureDiskVolumeSource'; +import { IoK8sApiCoreV1AzureFileVolumeSource } from './ioK8sApiCoreV1AzureFileVolumeSource'; +import { IoK8sApiCoreV1CSIVolumeSource } from './ioK8sApiCoreV1CSIVolumeSource'; +import { IoK8sApiCoreV1Capabilities } from './ioK8sApiCoreV1Capabilities'; +import { IoK8sApiCoreV1CephFSVolumeSource } from './ioK8sApiCoreV1CephFSVolumeSource'; +import { IoK8sApiCoreV1CinderVolumeSource } from './ioK8sApiCoreV1CinderVolumeSource'; +import { IoK8sApiCoreV1ConfigMapEnvSource } from './ioK8sApiCoreV1ConfigMapEnvSource'; +import { IoK8sApiCoreV1ConfigMapKeySelector } from './ioK8sApiCoreV1ConfigMapKeySelector'; +import { IoK8sApiCoreV1ConfigMapProjection } from './ioK8sApiCoreV1ConfigMapProjection'; +import { IoK8sApiCoreV1ConfigMapVolumeSource } from './ioK8sApiCoreV1ConfigMapVolumeSource'; +import { IoK8sApiCoreV1Container } from './ioK8sApiCoreV1Container'; +import { IoK8sApiCoreV1ContainerPort } from './ioK8sApiCoreV1ContainerPort'; +import { IoK8sApiCoreV1DownwardAPIProjection } from './ioK8sApiCoreV1DownwardAPIProjection'; +import { IoK8sApiCoreV1DownwardAPIVolumeFile } from './ioK8sApiCoreV1DownwardAPIVolumeFile'; +import { IoK8sApiCoreV1DownwardAPIVolumeSource } from './ioK8sApiCoreV1DownwardAPIVolumeSource'; +import { IoK8sApiCoreV1EmptyDirVolumeSource } from './ioK8sApiCoreV1EmptyDirVolumeSource'; +import { IoK8sApiCoreV1EnvFromSource } from './ioK8sApiCoreV1EnvFromSource'; +import { IoK8sApiCoreV1EnvVar } from './ioK8sApiCoreV1EnvVar'; +import { IoK8sApiCoreV1EnvVarSource } from './ioK8sApiCoreV1EnvVarSource'; +import { IoK8sApiCoreV1EphemeralVolumeSource } from './ioK8sApiCoreV1EphemeralVolumeSource'; +import { IoK8sApiCoreV1Event } from './ioK8sApiCoreV1Event'; +import { IoK8sApiCoreV1EventSeries } from './ioK8sApiCoreV1EventSeries'; +import { IoK8sApiCoreV1EventSource } from './ioK8sApiCoreV1EventSource'; +import { IoK8sApiCoreV1ExecAction } from './ioK8sApiCoreV1ExecAction'; +import { IoK8sApiCoreV1FCVolumeSource } from './ioK8sApiCoreV1FCVolumeSource'; +import { IoK8sApiCoreV1FlexVolumeSource } from './ioK8sApiCoreV1FlexVolumeSource'; +import { IoK8sApiCoreV1FlockerVolumeSource } from './ioK8sApiCoreV1FlockerVolumeSource'; +import { IoK8sApiCoreV1GCEPersistentDiskVolumeSource } from './ioK8sApiCoreV1GCEPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1GRPCAction } from './ioK8sApiCoreV1GRPCAction'; +import { IoK8sApiCoreV1GitRepoVolumeSource } from './ioK8sApiCoreV1GitRepoVolumeSource'; +import { IoK8sApiCoreV1GlusterfsVolumeSource } from './ioK8sApiCoreV1GlusterfsVolumeSource'; +import { IoK8sApiCoreV1HTTPGetAction } from './ioK8sApiCoreV1HTTPGetAction'; +import { IoK8sApiCoreV1HTTPHeader } from './ioK8sApiCoreV1HTTPHeader'; +import { IoK8sApiCoreV1HostAlias } from './ioK8sApiCoreV1HostAlias'; +import { IoK8sApiCoreV1HostPathVolumeSource } from './ioK8sApiCoreV1HostPathVolumeSource'; +import { IoK8sApiCoreV1ISCSIVolumeSource } from './ioK8sApiCoreV1ISCSIVolumeSource'; +import { IoK8sApiCoreV1KeyToPath } from './ioK8sApiCoreV1KeyToPath'; +import { IoK8sApiCoreV1Lifecycle } from './ioK8sApiCoreV1Lifecycle'; +import { IoK8sApiCoreV1LifecycleHandler } from './ioK8sApiCoreV1LifecycleHandler'; +import { IoK8sApiCoreV1LocalObjectReference } from './ioK8sApiCoreV1LocalObjectReference'; +import { IoK8sApiCoreV1NFSVolumeSource } from './ioK8sApiCoreV1NFSVolumeSource'; +import { IoK8sApiCoreV1NodeAffinity } from './ioK8sApiCoreV1NodeAffinity'; +import { IoK8sApiCoreV1NodeSelector } from './ioK8sApiCoreV1NodeSelector'; +import { IoK8sApiCoreV1NodeSelectorRequirement } from './ioK8sApiCoreV1NodeSelectorRequirement'; +import { IoK8sApiCoreV1NodeSelectorTerm } from './ioK8sApiCoreV1NodeSelectorTerm'; +import { IoK8sApiCoreV1ObjectFieldSelector } from './ioK8sApiCoreV1ObjectFieldSelector'; +import { IoK8sApiCoreV1ObjectReference } from './ioK8sApiCoreV1ObjectReference'; +import { IoK8sApiCoreV1PersistentVolumeClaim } from './ioK8sApiCoreV1PersistentVolumeClaim'; +import { IoK8sApiCoreV1PersistentVolumeClaimCondition } from './ioK8sApiCoreV1PersistentVolumeClaimCondition'; +import { IoK8sApiCoreV1PersistentVolumeClaimSpec } from './ioK8sApiCoreV1PersistentVolumeClaimSpec'; +import { IoK8sApiCoreV1PersistentVolumeClaimStatus } from './ioK8sApiCoreV1PersistentVolumeClaimStatus'; +import { IoK8sApiCoreV1PersistentVolumeClaimTemplate } from './ioK8sApiCoreV1PersistentVolumeClaimTemplate'; +import { IoK8sApiCoreV1PersistentVolumeClaimVolumeSource } from './ioK8sApiCoreV1PersistentVolumeClaimVolumeSource'; +import { IoK8sApiCoreV1PhotonPersistentDiskVolumeSource } from './ioK8sApiCoreV1PhotonPersistentDiskVolumeSource'; +import { IoK8sApiCoreV1PodAffinity } from './ioK8sApiCoreV1PodAffinity'; +import { IoK8sApiCoreV1PodAffinityTerm } from './ioK8sApiCoreV1PodAffinityTerm'; +import { IoK8sApiCoreV1PodAntiAffinity } from './ioK8sApiCoreV1PodAntiAffinity'; +import { IoK8sApiCoreV1PodDNSConfig } from './ioK8sApiCoreV1PodDNSConfig'; +import { IoK8sApiCoreV1PodDNSConfigOption } from './ioK8sApiCoreV1PodDNSConfigOption'; +import { IoK8sApiCoreV1PodSecurityContext } from './ioK8sApiCoreV1PodSecurityContext'; +import { IoK8sApiCoreV1PortworxVolumeSource } from './ioK8sApiCoreV1PortworxVolumeSource'; +import { IoK8sApiCoreV1PreferredSchedulingTerm } from './ioK8sApiCoreV1PreferredSchedulingTerm'; +import { IoK8sApiCoreV1Probe } from './ioK8sApiCoreV1Probe'; +import { IoK8sApiCoreV1ProjectedVolumeSource } from './ioK8sApiCoreV1ProjectedVolumeSource'; +import { IoK8sApiCoreV1QuobyteVolumeSource } from './ioK8sApiCoreV1QuobyteVolumeSource'; +import { IoK8sApiCoreV1RBDVolumeSource } from './ioK8sApiCoreV1RBDVolumeSource'; +import { IoK8sApiCoreV1ResourceFieldSelector } from './ioK8sApiCoreV1ResourceFieldSelector'; +import { IoK8sApiCoreV1ResourceRequirements } from './ioK8sApiCoreV1ResourceRequirements'; +import { IoK8sApiCoreV1SELinuxOptions } from './ioK8sApiCoreV1SELinuxOptions'; +import { IoK8sApiCoreV1ScaleIOVolumeSource } from './ioK8sApiCoreV1ScaleIOVolumeSource'; +import { IoK8sApiCoreV1SeccompProfile } from './ioK8sApiCoreV1SeccompProfile'; +import { IoK8sApiCoreV1SecretEnvSource } from './ioK8sApiCoreV1SecretEnvSource'; +import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector'; +import { IoK8sApiCoreV1SecretProjection } from './ioK8sApiCoreV1SecretProjection'; +import { IoK8sApiCoreV1SecretVolumeSource } from './ioK8sApiCoreV1SecretVolumeSource'; +import { IoK8sApiCoreV1SecurityContext } from './ioK8sApiCoreV1SecurityContext'; +import { IoK8sApiCoreV1ServiceAccountTokenProjection } from './ioK8sApiCoreV1ServiceAccountTokenProjection'; +import { IoK8sApiCoreV1ServicePort } from './ioK8sApiCoreV1ServicePort'; +import { IoK8sApiCoreV1StorageOSVolumeSource } from './ioK8sApiCoreV1StorageOSVolumeSource'; +import { IoK8sApiCoreV1Sysctl } from './ioK8sApiCoreV1Sysctl'; +import { IoK8sApiCoreV1TCPSocketAction } from './ioK8sApiCoreV1TCPSocketAction'; +import { IoK8sApiCoreV1Toleration } from './ioK8sApiCoreV1Toleration'; +import { IoK8sApiCoreV1TypedLocalObjectReference } from './ioK8sApiCoreV1TypedLocalObjectReference'; +import { IoK8sApiCoreV1Volume } from './ioK8sApiCoreV1Volume'; +import { IoK8sApiCoreV1VolumeDevice } from './ioK8sApiCoreV1VolumeDevice'; +import { IoK8sApiCoreV1VolumeMount } from './ioK8sApiCoreV1VolumeMount'; +import { IoK8sApiCoreV1VolumeProjection } from './ioK8sApiCoreV1VolumeProjection'; +import { IoK8sApiCoreV1VsphereVirtualDiskVolumeSource } from './ioK8sApiCoreV1VsphereVirtualDiskVolumeSource'; +import { IoK8sApiCoreV1WeightedPodAffinityTerm } from './ioK8sApiCoreV1WeightedPodAffinityTerm'; +import { IoK8sApiCoreV1WindowsSecurityContextOptions } from './ioK8sApiCoreV1WindowsSecurityContextOptions'; +import { IoK8sApiPolicyV1PodDisruptionBudgetSpec } from './ioK8sApiPolicyV1PodDisruptionBudgetSpec'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; +import { IoK8sApimachineryPkgApisMetaV1GroupVersionResource } from './ioK8sApimachineryPkgApisMetaV1GroupVersionResource'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelector } from './ioK8sApimachineryPkgApisMetaV1LabelSelector'; +import { IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement } from './ioK8sApimachineryPkgApisMetaV1LabelSelectorRequirement'; +import { IoK8sApimachineryPkgApisMetaV1ListMeta } from './ioK8sApimachineryPkgApisMetaV1ListMeta'; +import { IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry } from './ioK8sApimachineryPkgApisMetaV1ManagedFieldsEntry'; +import { IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './ioK8sApimachineryPkgApisMetaV1ObjectMeta'; +import { IoK8sApimachineryPkgApisMetaV1OwnerReference } from './ioK8sApimachineryPkgApisMetaV1OwnerReference'; +import { IoK8sApimachineryPkgApisMetaV1StatusCause } from './ioK8sApimachineryPkgApisMetaV1StatusCause'; +import { SensorCreateSensorRequest } from './sensorCreateSensorRequest'; +import { SensorLogEntry } from './sensorLogEntry'; +import { SensorSensorWatchEvent } from './sensorSensorWatchEvent'; +import { SensorUpdateSensorRequest } from './sensorUpdateSensorRequest'; +import { StreamResultOfEventsourceEventSourceWatchEvent } from './streamResultOfEventsourceEventSourceWatchEvent'; +import { StreamResultOfEventsourceLogEntry } from './streamResultOfEventsourceLogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry } from './streamResultOfIoArgoprojWorkflowV1alpha1LogEntry'; +import { StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from './streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; +import { StreamResultOfIoK8sApiCoreV1Event } from './streamResultOfIoK8sApiCoreV1Event'; +import { StreamResultOfSensorLogEntry } from './streamResultOfSensorLogEntry'; +import { StreamResultOfSensorSensorWatchEvent } from './streamResultOfSensorSensorWatchEvent'; + +/* tslint:disable:no-unused-variable */ +let primitives = [ + "string", + "boolean", + "double", + "integer", + "long", + "float", + "number", + "any" + ]; + +let enumsMap: {[index: string]: any} = { + "IoK8sApiCoreV1Container.ImagePullPolicyEnum": IoK8sApiCoreV1Container.ImagePullPolicyEnum, + "IoK8sApiCoreV1Container.TerminationMessagePolicyEnum": IoK8sApiCoreV1Container.TerminationMessagePolicyEnum, + "IoK8sApiCoreV1ContainerPort.ProtocolEnum": IoK8sApiCoreV1ContainerPort.ProtocolEnum, + "IoK8sApiCoreV1HTTPGetAction.SchemeEnum": IoK8sApiCoreV1HTTPGetAction.SchemeEnum, + "IoK8sApiCoreV1NodeSelectorRequirement.OperatorEnum": IoK8sApiCoreV1NodeSelectorRequirement.OperatorEnum, + "IoK8sApiCoreV1PersistentVolumeClaimCondition.TypeEnum": IoK8sApiCoreV1PersistentVolumeClaimCondition.TypeEnum, + "IoK8sApiCoreV1PersistentVolumeClaimStatus.PhaseEnum": IoK8sApiCoreV1PersistentVolumeClaimStatus.PhaseEnum, + "IoK8sApiCoreV1SeccompProfile.TypeEnum": IoK8sApiCoreV1SeccompProfile.TypeEnum, + "IoK8sApiCoreV1ServicePort.ProtocolEnum": IoK8sApiCoreV1ServicePort.ProtocolEnum, + "IoK8sApiCoreV1Toleration.EffectEnum": IoK8sApiCoreV1Toleration.EffectEnum, + "IoK8sApiCoreV1Toleration.OperatorEnum": IoK8sApiCoreV1Toleration.OperatorEnum, +} + +let typeMap: {[index: string]: any} = { + "EventsourceCreateEventSourceRequest": EventsourceCreateEventSourceRequest, + "EventsourceEventSourceWatchEvent": EventsourceEventSourceWatchEvent, + "EventsourceLogEntry": EventsourceLogEntry, + "EventsourceUpdateEventSourceRequest": EventsourceUpdateEventSourceRequest, + "GoogleProtobufAny": GoogleProtobufAny, + "GrpcGatewayRuntimeError": GrpcGatewayRuntimeError, + "GrpcGatewayRuntimeStreamError": GrpcGatewayRuntimeStreamError, + "IoArgoprojEventsV1alpha1AMQPConsumeConfig": IoArgoprojEventsV1alpha1AMQPConsumeConfig, + "IoArgoprojEventsV1alpha1AMQPEventSource": IoArgoprojEventsV1alpha1AMQPEventSource, + "IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig": IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig, + "IoArgoprojEventsV1alpha1AMQPQueueBindConfig": IoArgoprojEventsV1alpha1AMQPQueueBindConfig, + "IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig": IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig, + "IoArgoprojEventsV1alpha1AWSLambdaTrigger": IoArgoprojEventsV1alpha1AWSLambdaTrigger, + "IoArgoprojEventsV1alpha1Amount": IoArgoprojEventsV1alpha1Amount, + "IoArgoprojEventsV1alpha1ArgoWorkflowTrigger": IoArgoprojEventsV1alpha1ArgoWorkflowTrigger, + "IoArgoprojEventsV1alpha1ArtifactLocation": IoArgoprojEventsV1alpha1ArtifactLocation, + "IoArgoprojEventsV1alpha1AzureEventHubsTrigger": IoArgoprojEventsV1alpha1AzureEventHubsTrigger, + "IoArgoprojEventsV1alpha1AzureEventsHubEventSource": IoArgoprojEventsV1alpha1AzureEventsHubEventSource, + "IoArgoprojEventsV1alpha1Backoff": IoArgoprojEventsV1alpha1Backoff, + "IoArgoprojEventsV1alpha1BasicAuth": IoArgoprojEventsV1alpha1BasicAuth, + "IoArgoprojEventsV1alpha1BitbucketAuth": IoArgoprojEventsV1alpha1BitbucketAuth, + "IoArgoprojEventsV1alpha1BitbucketBasicAuth": IoArgoprojEventsV1alpha1BitbucketBasicAuth, + "IoArgoprojEventsV1alpha1BitbucketEventSource": IoArgoprojEventsV1alpha1BitbucketEventSource, + "IoArgoprojEventsV1alpha1BitbucketRepository": IoArgoprojEventsV1alpha1BitbucketRepository, + "IoArgoprojEventsV1alpha1BitbucketServerEventSource": IoArgoprojEventsV1alpha1BitbucketServerEventSource, + "IoArgoprojEventsV1alpha1BitbucketServerRepository": IoArgoprojEventsV1alpha1BitbucketServerRepository, + "IoArgoprojEventsV1alpha1CalendarEventSource": IoArgoprojEventsV1alpha1CalendarEventSource, + "IoArgoprojEventsV1alpha1CatchupConfiguration": IoArgoprojEventsV1alpha1CatchupConfiguration, + "IoArgoprojEventsV1alpha1Condition": IoArgoprojEventsV1alpha1Condition, + "IoArgoprojEventsV1alpha1ConditionsResetByTime": IoArgoprojEventsV1alpha1ConditionsResetByTime, + "IoArgoprojEventsV1alpha1ConditionsResetCriteria": IoArgoprojEventsV1alpha1ConditionsResetCriteria, + "IoArgoprojEventsV1alpha1ConfigMapPersistence": IoArgoprojEventsV1alpha1ConfigMapPersistence, + "IoArgoprojEventsV1alpha1CustomTrigger": IoArgoprojEventsV1alpha1CustomTrigger, + "IoArgoprojEventsV1alpha1DataFilter": IoArgoprojEventsV1alpha1DataFilter, + "IoArgoprojEventsV1alpha1EmitterEventSource": IoArgoprojEventsV1alpha1EmitterEventSource, + "IoArgoprojEventsV1alpha1EventContext": IoArgoprojEventsV1alpha1EventContext, + "IoArgoprojEventsV1alpha1EventDependency": IoArgoprojEventsV1alpha1EventDependency, + "IoArgoprojEventsV1alpha1EventDependencyFilter": IoArgoprojEventsV1alpha1EventDependencyFilter, + "IoArgoprojEventsV1alpha1EventDependencyTransformer": IoArgoprojEventsV1alpha1EventDependencyTransformer, + "IoArgoprojEventsV1alpha1EventPersistence": IoArgoprojEventsV1alpha1EventPersistence, + "IoArgoprojEventsV1alpha1EventSource": IoArgoprojEventsV1alpha1EventSource, + "IoArgoprojEventsV1alpha1EventSourceFilter": IoArgoprojEventsV1alpha1EventSourceFilter, + "IoArgoprojEventsV1alpha1EventSourceList": IoArgoprojEventsV1alpha1EventSourceList, + "IoArgoprojEventsV1alpha1EventSourceSpec": IoArgoprojEventsV1alpha1EventSourceSpec, + "IoArgoprojEventsV1alpha1EventSourceStatus": IoArgoprojEventsV1alpha1EventSourceStatus, + "IoArgoprojEventsV1alpha1ExprFilter": IoArgoprojEventsV1alpha1ExprFilter, + "IoArgoprojEventsV1alpha1FileArtifact": IoArgoprojEventsV1alpha1FileArtifact, + "IoArgoprojEventsV1alpha1FileEventSource": IoArgoprojEventsV1alpha1FileEventSource, + "IoArgoprojEventsV1alpha1GenericEventSource": IoArgoprojEventsV1alpha1GenericEventSource, + "IoArgoprojEventsV1alpha1GitArtifact": IoArgoprojEventsV1alpha1GitArtifact, + "IoArgoprojEventsV1alpha1GitCreds": IoArgoprojEventsV1alpha1GitCreds, + "IoArgoprojEventsV1alpha1GitRemoteConfig": IoArgoprojEventsV1alpha1GitRemoteConfig, + "IoArgoprojEventsV1alpha1GithubAppCreds": IoArgoprojEventsV1alpha1GithubAppCreds, + "IoArgoprojEventsV1alpha1GithubEventSource": IoArgoprojEventsV1alpha1GithubEventSource, + "IoArgoprojEventsV1alpha1GitlabEventSource": IoArgoprojEventsV1alpha1GitlabEventSource, + "IoArgoprojEventsV1alpha1HDFSEventSource": IoArgoprojEventsV1alpha1HDFSEventSource, + "IoArgoprojEventsV1alpha1HTTPTrigger": IoArgoprojEventsV1alpha1HTTPTrigger, + "IoArgoprojEventsV1alpha1Int64OrString": IoArgoprojEventsV1alpha1Int64OrString, + "IoArgoprojEventsV1alpha1K8SResourcePolicy": IoArgoprojEventsV1alpha1K8SResourcePolicy, + "IoArgoprojEventsV1alpha1KafkaConsumerGroup": IoArgoprojEventsV1alpha1KafkaConsumerGroup, + "IoArgoprojEventsV1alpha1KafkaEventSource": IoArgoprojEventsV1alpha1KafkaEventSource, + "IoArgoprojEventsV1alpha1KafkaTrigger": IoArgoprojEventsV1alpha1KafkaTrigger, + "IoArgoprojEventsV1alpha1LogTrigger": IoArgoprojEventsV1alpha1LogTrigger, + "IoArgoprojEventsV1alpha1MQTTEventSource": IoArgoprojEventsV1alpha1MQTTEventSource, + "IoArgoprojEventsV1alpha1Metadata": IoArgoprojEventsV1alpha1Metadata, + "IoArgoprojEventsV1alpha1NATSAuth": IoArgoprojEventsV1alpha1NATSAuth, + "IoArgoprojEventsV1alpha1NATSEventsSource": IoArgoprojEventsV1alpha1NATSEventsSource, + "IoArgoprojEventsV1alpha1NATSTrigger": IoArgoprojEventsV1alpha1NATSTrigger, + "IoArgoprojEventsV1alpha1NSQEventSource": IoArgoprojEventsV1alpha1NSQEventSource, + "IoArgoprojEventsV1alpha1OpenWhiskTrigger": IoArgoprojEventsV1alpha1OpenWhiskTrigger, + "IoArgoprojEventsV1alpha1OwnedRepositories": IoArgoprojEventsV1alpha1OwnedRepositories, + "IoArgoprojEventsV1alpha1PayloadField": IoArgoprojEventsV1alpha1PayloadField, + "IoArgoprojEventsV1alpha1PubSubEventSource": IoArgoprojEventsV1alpha1PubSubEventSource, + "IoArgoprojEventsV1alpha1PulsarEventSource": IoArgoprojEventsV1alpha1PulsarEventSource, + "IoArgoprojEventsV1alpha1PulsarTrigger": IoArgoprojEventsV1alpha1PulsarTrigger, + "IoArgoprojEventsV1alpha1RateLimit": IoArgoprojEventsV1alpha1RateLimit, + "IoArgoprojEventsV1alpha1RedisEventSource": IoArgoprojEventsV1alpha1RedisEventSource, + "IoArgoprojEventsV1alpha1RedisStreamEventSource": IoArgoprojEventsV1alpha1RedisStreamEventSource, + "IoArgoprojEventsV1alpha1Resource": IoArgoprojEventsV1alpha1Resource, + "IoArgoprojEventsV1alpha1ResourceEventSource": IoArgoprojEventsV1alpha1ResourceEventSource, + "IoArgoprojEventsV1alpha1ResourceFilter": IoArgoprojEventsV1alpha1ResourceFilter, + "IoArgoprojEventsV1alpha1S3Artifact": IoArgoprojEventsV1alpha1S3Artifact, + "IoArgoprojEventsV1alpha1S3Bucket": IoArgoprojEventsV1alpha1S3Bucket, + "IoArgoprojEventsV1alpha1S3Filter": IoArgoprojEventsV1alpha1S3Filter, + "IoArgoprojEventsV1alpha1SASLConfig": IoArgoprojEventsV1alpha1SASLConfig, + "IoArgoprojEventsV1alpha1SNSEventSource": IoArgoprojEventsV1alpha1SNSEventSource, + "IoArgoprojEventsV1alpha1SQSEventSource": IoArgoprojEventsV1alpha1SQSEventSource, + "IoArgoprojEventsV1alpha1SecureHeader": IoArgoprojEventsV1alpha1SecureHeader, + "IoArgoprojEventsV1alpha1Selector": IoArgoprojEventsV1alpha1Selector, + "IoArgoprojEventsV1alpha1Sensor": IoArgoprojEventsV1alpha1Sensor, + "IoArgoprojEventsV1alpha1SensorList": IoArgoprojEventsV1alpha1SensorList, + "IoArgoprojEventsV1alpha1SensorSpec": IoArgoprojEventsV1alpha1SensorSpec, + "IoArgoprojEventsV1alpha1SensorStatus": IoArgoprojEventsV1alpha1SensorStatus, + "IoArgoprojEventsV1alpha1Service": IoArgoprojEventsV1alpha1Service, + "IoArgoprojEventsV1alpha1SlackEventSource": IoArgoprojEventsV1alpha1SlackEventSource, + "IoArgoprojEventsV1alpha1SlackTrigger": IoArgoprojEventsV1alpha1SlackTrigger, + "IoArgoprojEventsV1alpha1StandardK8STrigger": IoArgoprojEventsV1alpha1StandardK8STrigger, + "IoArgoprojEventsV1alpha1Status": IoArgoprojEventsV1alpha1Status, + "IoArgoprojEventsV1alpha1StatusPolicy": IoArgoprojEventsV1alpha1StatusPolicy, + "IoArgoprojEventsV1alpha1StorageGridEventSource": IoArgoprojEventsV1alpha1StorageGridEventSource, + "IoArgoprojEventsV1alpha1StorageGridFilter": IoArgoprojEventsV1alpha1StorageGridFilter, + "IoArgoprojEventsV1alpha1StripeEventSource": IoArgoprojEventsV1alpha1StripeEventSource, + "IoArgoprojEventsV1alpha1TLSConfig": IoArgoprojEventsV1alpha1TLSConfig, + "IoArgoprojEventsV1alpha1Template": IoArgoprojEventsV1alpha1Template, + "IoArgoprojEventsV1alpha1TimeFilter": IoArgoprojEventsV1alpha1TimeFilter, + "IoArgoprojEventsV1alpha1Trigger": IoArgoprojEventsV1alpha1Trigger, + "IoArgoprojEventsV1alpha1TriggerParameter": IoArgoprojEventsV1alpha1TriggerParameter, + "IoArgoprojEventsV1alpha1TriggerParameterSource": IoArgoprojEventsV1alpha1TriggerParameterSource, + "IoArgoprojEventsV1alpha1TriggerPolicy": IoArgoprojEventsV1alpha1TriggerPolicy, + "IoArgoprojEventsV1alpha1TriggerTemplate": IoArgoprojEventsV1alpha1TriggerTemplate, + "IoArgoprojEventsV1alpha1URLArtifact": IoArgoprojEventsV1alpha1URLArtifact, + "IoArgoprojEventsV1alpha1ValueFromSource": IoArgoprojEventsV1alpha1ValueFromSource, + "IoArgoprojEventsV1alpha1WatchPathConfig": IoArgoprojEventsV1alpha1WatchPathConfig, + "IoArgoprojEventsV1alpha1WebhookContext": IoArgoprojEventsV1alpha1WebhookContext, + "IoArgoprojEventsV1alpha1WebhookEventSource": IoArgoprojEventsV1alpha1WebhookEventSource, + "IoArgoprojWorkflowV1alpha1ArchiveStrategy": IoArgoprojWorkflowV1alpha1ArchiveStrategy, + "IoArgoprojWorkflowV1alpha1Arguments": IoArgoprojWorkflowV1alpha1Arguments, + "IoArgoprojWorkflowV1alpha1ArtGCStatus": IoArgoprojWorkflowV1alpha1ArtGCStatus, + "IoArgoprojWorkflowV1alpha1Artifact": IoArgoprojWorkflowV1alpha1Artifact, + "IoArgoprojWorkflowV1alpha1ArtifactGC": IoArgoprojWorkflowV1alpha1ArtifactGC, + "IoArgoprojWorkflowV1alpha1ArtifactGCSpec": IoArgoprojWorkflowV1alpha1ArtifactGCSpec, + "IoArgoprojWorkflowV1alpha1ArtifactGCStatus": IoArgoprojWorkflowV1alpha1ArtifactGCStatus, + "IoArgoprojWorkflowV1alpha1ArtifactLocation": IoArgoprojWorkflowV1alpha1ArtifactLocation, + "IoArgoprojWorkflowV1alpha1ArtifactNodeSpec": IoArgoprojWorkflowV1alpha1ArtifactNodeSpec, + "IoArgoprojWorkflowV1alpha1ArtifactPaths": IoArgoprojWorkflowV1alpha1ArtifactPaths, + "IoArgoprojWorkflowV1alpha1ArtifactRepository": IoArgoprojWorkflowV1alpha1ArtifactRepository, + "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef": IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef, + "IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus": IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus, + "IoArgoprojWorkflowV1alpha1ArtifactResult": IoArgoprojWorkflowV1alpha1ArtifactResult, + "IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus": IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus, + "IoArgoprojWorkflowV1alpha1ArtifactoryArtifact": IoArgoprojWorkflowV1alpha1ArtifactoryArtifact, + "IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository": IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository, + "IoArgoprojWorkflowV1alpha1AzureArtifact": IoArgoprojWorkflowV1alpha1AzureArtifact, + "IoArgoprojWorkflowV1alpha1AzureArtifactRepository": IoArgoprojWorkflowV1alpha1AzureArtifactRepository, + "IoArgoprojWorkflowV1alpha1Backoff": IoArgoprojWorkflowV1alpha1Backoff, + "IoArgoprojWorkflowV1alpha1BasicAuth": IoArgoprojWorkflowV1alpha1BasicAuth, + "IoArgoprojWorkflowV1alpha1Cache": IoArgoprojWorkflowV1alpha1Cache, + "IoArgoprojWorkflowV1alpha1ClientCertAuth": IoArgoprojWorkflowV1alpha1ClientCertAuth, + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate": IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate, + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest": IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest, + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest": IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest, + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList": IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList, + "IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest": IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest, + "IoArgoprojWorkflowV1alpha1CollectEventRequest": IoArgoprojWorkflowV1alpha1CollectEventRequest, + "IoArgoprojWorkflowV1alpha1Column": IoArgoprojWorkflowV1alpha1Column, + "IoArgoprojWorkflowV1alpha1Condition": IoArgoprojWorkflowV1alpha1Condition, + "IoArgoprojWorkflowV1alpha1ContainerNode": IoArgoprojWorkflowV1alpha1ContainerNode, + "IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy": IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy, + "IoArgoprojWorkflowV1alpha1ContainerSetTemplate": IoArgoprojWorkflowV1alpha1ContainerSetTemplate, + "IoArgoprojWorkflowV1alpha1ContinueOn": IoArgoprojWorkflowV1alpha1ContinueOn, + "IoArgoprojWorkflowV1alpha1Counter": IoArgoprojWorkflowV1alpha1Counter, + "IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest": IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest, + "IoArgoprojWorkflowV1alpha1CreateS3BucketOptions": IoArgoprojWorkflowV1alpha1CreateS3BucketOptions, + "IoArgoprojWorkflowV1alpha1CronWorkflow": IoArgoprojWorkflowV1alpha1CronWorkflow, + "IoArgoprojWorkflowV1alpha1CronWorkflowList": IoArgoprojWorkflowV1alpha1CronWorkflowList, + "IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest": IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest, + "IoArgoprojWorkflowV1alpha1CronWorkflowSpec": IoArgoprojWorkflowV1alpha1CronWorkflowSpec, + "IoArgoprojWorkflowV1alpha1CronWorkflowStatus": IoArgoprojWorkflowV1alpha1CronWorkflowStatus, + "IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest": IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest, + "IoArgoprojWorkflowV1alpha1DAGTask": IoArgoprojWorkflowV1alpha1DAGTask, + "IoArgoprojWorkflowV1alpha1DAGTemplate": IoArgoprojWorkflowV1alpha1DAGTemplate, + "IoArgoprojWorkflowV1alpha1Data": IoArgoprojWorkflowV1alpha1Data, + "IoArgoprojWorkflowV1alpha1DataSource": IoArgoprojWorkflowV1alpha1DataSource, + "IoArgoprojWorkflowV1alpha1Event": IoArgoprojWorkflowV1alpha1Event, + "IoArgoprojWorkflowV1alpha1ExecutorConfig": IoArgoprojWorkflowV1alpha1ExecutorConfig, + "IoArgoprojWorkflowV1alpha1GCSArtifact": IoArgoprojWorkflowV1alpha1GCSArtifact, + "IoArgoprojWorkflowV1alpha1GCSArtifactRepository": IoArgoprojWorkflowV1alpha1GCSArtifactRepository, + "IoArgoprojWorkflowV1alpha1Gauge": IoArgoprojWorkflowV1alpha1Gauge, + "IoArgoprojWorkflowV1alpha1GetUserInfoResponse": IoArgoprojWorkflowV1alpha1GetUserInfoResponse, + "IoArgoprojWorkflowV1alpha1GitArtifact": IoArgoprojWorkflowV1alpha1GitArtifact, + "IoArgoprojWorkflowV1alpha1HDFSArtifact": IoArgoprojWorkflowV1alpha1HDFSArtifact, + "IoArgoprojWorkflowV1alpha1HDFSArtifactRepository": IoArgoprojWorkflowV1alpha1HDFSArtifactRepository, + "IoArgoprojWorkflowV1alpha1HTTP": IoArgoprojWorkflowV1alpha1HTTP, + "IoArgoprojWorkflowV1alpha1HTTPArtifact": IoArgoprojWorkflowV1alpha1HTTPArtifact, + "IoArgoprojWorkflowV1alpha1HTTPAuth": IoArgoprojWorkflowV1alpha1HTTPAuth, + "IoArgoprojWorkflowV1alpha1HTTPBodySource": IoArgoprojWorkflowV1alpha1HTTPBodySource, + "IoArgoprojWorkflowV1alpha1HTTPHeader": IoArgoprojWorkflowV1alpha1HTTPHeader, + "IoArgoprojWorkflowV1alpha1HTTPHeaderSource": IoArgoprojWorkflowV1alpha1HTTPHeaderSource, + "IoArgoprojWorkflowV1alpha1Header": IoArgoprojWorkflowV1alpha1Header, + "IoArgoprojWorkflowV1alpha1Histogram": IoArgoprojWorkflowV1alpha1Histogram, + "IoArgoprojWorkflowV1alpha1InfoResponse": IoArgoprojWorkflowV1alpha1InfoResponse, + "IoArgoprojWorkflowV1alpha1Inputs": IoArgoprojWorkflowV1alpha1Inputs, + "IoArgoprojWorkflowV1alpha1LabelKeys": IoArgoprojWorkflowV1alpha1LabelKeys, + "IoArgoprojWorkflowV1alpha1LabelValueFrom": IoArgoprojWorkflowV1alpha1LabelValueFrom, + "IoArgoprojWorkflowV1alpha1LabelValues": IoArgoprojWorkflowV1alpha1LabelValues, + "IoArgoprojWorkflowV1alpha1LifecycleHook": IoArgoprojWorkflowV1alpha1LifecycleHook, + "IoArgoprojWorkflowV1alpha1Link": IoArgoprojWorkflowV1alpha1Link, + "IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest": IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest, + "IoArgoprojWorkflowV1alpha1LogEntry": IoArgoprojWorkflowV1alpha1LogEntry, + "IoArgoprojWorkflowV1alpha1ManifestFrom": IoArgoprojWorkflowV1alpha1ManifestFrom, + "IoArgoprojWorkflowV1alpha1MemoizationStatus": IoArgoprojWorkflowV1alpha1MemoizationStatus, + "IoArgoprojWorkflowV1alpha1Memoize": IoArgoprojWorkflowV1alpha1Memoize, + "IoArgoprojWorkflowV1alpha1Metadata": IoArgoprojWorkflowV1alpha1Metadata, + "IoArgoprojWorkflowV1alpha1MetricLabel": IoArgoprojWorkflowV1alpha1MetricLabel, + "IoArgoprojWorkflowV1alpha1Metrics": IoArgoprojWorkflowV1alpha1Metrics, + "IoArgoprojWorkflowV1alpha1Mutex": IoArgoprojWorkflowV1alpha1Mutex, + "IoArgoprojWorkflowV1alpha1MutexHolding": IoArgoprojWorkflowV1alpha1MutexHolding, + "IoArgoprojWorkflowV1alpha1MutexStatus": IoArgoprojWorkflowV1alpha1MutexStatus, + "IoArgoprojWorkflowV1alpha1NodeResult": IoArgoprojWorkflowV1alpha1NodeResult, + "IoArgoprojWorkflowV1alpha1NodeStatus": IoArgoprojWorkflowV1alpha1NodeStatus, + "IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus": IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus, + "IoArgoprojWorkflowV1alpha1OAuth2Auth": IoArgoprojWorkflowV1alpha1OAuth2Auth, + "IoArgoprojWorkflowV1alpha1OAuth2EndpointParam": IoArgoprojWorkflowV1alpha1OAuth2EndpointParam, + "IoArgoprojWorkflowV1alpha1OSSArtifact": IoArgoprojWorkflowV1alpha1OSSArtifact, + "IoArgoprojWorkflowV1alpha1OSSArtifactRepository": IoArgoprojWorkflowV1alpha1OSSArtifactRepository, + "IoArgoprojWorkflowV1alpha1OSSLifecycleRule": IoArgoprojWorkflowV1alpha1OSSLifecycleRule, + "IoArgoprojWorkflowV1alpha1Outputs": IoArgoprojWorkflowV1alpha1Outputs, + "IoArgoprojWorkflowV1alpha1Parameter": IoArgoprojWorkflowV1alpha1Parameter, + "IoArgoprojWorkflowV1alpha1PodGC": IoArgoprojWorkflowV1alpha1PodGC, + "IoArgoprojWorkflowV1alpha1Prometheus": IoArgoprojWorkflowV1alpha1Prometheus, + "IoArgoprojWorkflowV1alpha1RawArtifact": IoArgoprojWorkflowV1alpha1RawArtifact, + "IoArgoprojWorkflowV1alpha1ResourceTemplate": IoArgoprojWorkflowV1alpha1ResourceTemplate, + "IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest": IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest, + "IoArgoprojWorkflowV1alpha1RetryAffinity": IoArgoprojWorkflowV1alpha1RetryAffinity, + "IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest": IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest, + "IoArgoprojWorkflowV1alpha1RetryStrategy": IoArgoprojWorkflowV1alpha1RetryStrategy, + "IoArgoprojWorkflowV1alpha1S3Artifact": IoArgoprojWorkflowV1alpha1S3Artifact, + "IoArgoprojWorkflowV1alpha1S3ArtifactRepository": IoArgoprojWorkflowV1alpha1S3ArtifactRepository, + "IoArgoprojWorkflowV1alpha1S3EncryptionOptions": IoArgoprojWorkflowV1alpha1S3EncryptionOptions, + "IoArgoprojWorkflowV1alpha1ScriptTemplate": IoArgoprojWorkflowV1alpha1ScriptTemplate, + "IoArgoprojWorkflowV1alpha1SemaphoreHolding": IoArgoprojWorkflowV1alpha1SemaphoreHolding, + "IoArgoprojWorkflowV1alpha1SemaphoreRef": IoArgoprojWorkflowV1alpha1SemaphoreRef, + "IoArgoprojWorkflowV1alpha1SemaphoreStatus": IoArgoprojWorkflowV1alpha1SemaphoreStatus, + "IoArgoprojWorkflowV1alpha1Sequence": IoArgoprojWorkflowV1alpha1Sequence, + "IoArgoprojWorkflowV1alpha1Submit": IoArgoprojWorkflowV1alpha1Submit, + "IoArgoprojWorkflowV1alpha1SubmitOpts": IoArgoprojWorkflowV1alpha1SubmitOpts, + "IoArgoprojWorkflowV1alpha1SuspendTemplate": IoArgoprojWorkflowV1alpha1SuspendTemplate, + "IoArgoprojWorkflowV1alpha1Synchronization": IoArgoprojWorkflowV1alpha1Synchronization, + "IoArgoprojWorkflowV1alpha1SynchronizationStatus": IoArgoprojWorkflowV1alpha1SynchronizationStatus, + "IoArgoprojWorkflowV1alpha1TTLStrategy": IoArgoprojWorkflowV1alpha1TTLStrategy, + "IoArgoprojWorkflowV1alpha1TarStrategy": IoArgoprojWorkflowV1alpha1TarStrategy, + "IoArgoprojWorkflowV1alpha1Template": IoArgoprojWorkflowV1alpha1Template, + "IoArgoprojWorkflowV1alpha1TemplateRef": IoArgoprojWorkflowV1alpha1TemplateRef, + "IoArgoprojWorkflowV1alpha1TransformationStep": IoArgoprojWorkflowV1alpha1TransformationStep, + "IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest": IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest, + "IoArgoprojWorkflowV1alpha1UserContainer": IoArgoprojWorkflowV1alpha1UserContainer, + "IoArgoprojWorkflowV1alpha1ValueFrom": IoArgoprojWorkflowV1alpha1ValueFrom, + "IoArgoprojWorkflowV1alpha1Version": IoArgoprojWorkflowV1alpha1Version, + "IoArgoprojWorkflowV1alpha1VolumeClaimGC": IoArgoprojWorkflowV1alpha1VolumeClaimGC, + "IoArgoprojWorkflowV1alpha1Workflow": IoArgoprojWorkflowV1alpha1Workflow, + "IoArgoprojWorkflowV1alpha1WorkflowCreateRequest": IoArgoprojWorkflowV1alpha1WorkflowCreateRequest, + "IoArgoprojWorkflowV1alpha1WorkflowEventBinding": IoArgoprojWorkflowV1alpha1WorkflowEventBinding, + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingList": IoArgoprojWorkflowV1alpha1WorkflowEventBindingList, + "IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec": IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec, + "IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC": IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC, + "IoArgoprojWorkflowV1alpha1WorkflowLintRequest": IoArgoprojWorkflowV1alpha1WorkflowLintRequest, + "IoArgoprojWorkflowV1alpha1WorkflowList": IoArgoprojWorkflowV1alpha1WorkflowList, + "IoArgoprojWorkflowV1alpha1WorkflowMetadata": IoArgoprojWorkflowV1alpha1WorkflowMetadata, + "IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest": IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest, + "IoArgoprojWorkflowV1alpha1WorkflowResumeRequest": IoArgoprojWorkflowV1alpha1WorkflowResumeRequest, + "IoArgoprojWorkflowV1alpha1WorkflowRetryRequest": IoArgoprojWorkflowV1alpha1WorkflowRetryRequest, + "IoArgoprojWorkflowV1alpha1WorkflowSetRequest": IoArgoprojWorkflowV1alpha1WorkflowSetRequest, + "IoArgoprojWorkflowV1alpha1WorkflowSpec": IoArgoprojWorkflowV1alpha1WorkflowSpec, + "IoArgoprojWorkflowV1alpha1WorkflowStatus": IoArgoprojWorkflowV1alpha1WorkflowStatus, + "IoArgoprojWorkflowV1alpha1WorkflowStep": IoArgoprojWorkflowV1alpha1WorkflowStep, + "IoArgoprojWorkflowV1alpha1WorkflowStopRequest": IoArgoprojWorkflowV1alpha1WorkflowStopRequest, + "IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest": IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest, + "IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest": IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest, + "IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec": IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec, + "IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus": IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus, + "IoArgoprojWorkflowV1alpha1WorkflowTemplate": IoArgoprojWorkflowV1alpha1WorkflowTemplate, + "IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest": IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest, + "IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest": IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest, + "IoArgoprojWorkflowV1alpha1WorkflowTemplateList": IoArgoprojWorkflowV1alpha1WorkflowTemplateList, + "IoArgoprojWorkflowV1alpha1WorkflowTemplateRef": IoArgoprojWorkflowV1alpha1WorkflowTemplateRef, + "IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest": IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest, + "IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest": IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest, + "IoArgoprojWorkflowV1alpha1WorkflowWatchEvent": IoArgoprojWorkflowV1alpha1WorkflowWatchEvent, + "IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource": IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource, + "IoK8sApiCoreV1Affinity": IoK8sApiCoreV1Affinity, + "IoK8sApiCoreV1AzureDiskVolumeSource": IoK8sApiCoreV1AzureDiskVolumeSource, + "IoK8sApiCoreV1AzureFileVolumeSource": IoK8sApiCoreV1AzureFileVolumeSource, + "IoK8sApiCoreV1CSIVolumeSource": IoK8sApiCoreV1CSIVolumeSource, + "IoK8sApiCoreV1Capabilities": IoK8sApiCoreV1Capabilities, + "IoK8sApiCoreV1CephFSVolumeSource": IoK8sApiCoreV1CephFSVolumeSource, + "IoK8sApiCoreV1CinderVolumeSource": IoK8sApiCoreV1CinderVolumeSource, + "IoK8sApiCoreV1ConfigMapEnvSource": IoK8sApiCoreV1ConfigMapEnvSource, + "IoK8sApiCoreV1ConfigMapKeySelector": IoK8sApiCoreV1ConfigMapKeySelector, + "IoK8sApiCoreV1ConfigMapProjection": IoK8sApiCoreV1ConfigMapProjection, + "IoK8sApiCoreV1ConfigMapVolumeSource": IoK8sApiCoreV1ConfigMapVolumeSource, + "IoK8sApiCoreV1Container": IoK8sApiCoreV1Container, + "IoK8sApiCoreV1ContainerPort": IoK8sApiCoreV1ContainerPort, + "IoK8sApiCoreV1DownwardAPIProjection": IoK8sApiCoreV1DownwardAPIProjection, + "IoK8sApiCoreV1DownwardAPIVolumeFile": IoK8sApiCoreV1DownwardAPIVolumeFile, + "IoK8sApiCoreV1DownwardAPIVolumeSource": IoK8sApiCoreV1DownwardAPIVolumeSource, + "IoK8sApiCoreV1EmptyDirVolumeSource": IoK8sApiCoreV1EmptyDirVolumeSource, + "IoK8sApiCoreV1EnvFromSource": IoK8sApiCoreV1EnvFromSource, + "IoK8sApiCoreV1EnvVar": IoK8sApiCoreV1EnvVar, + "IoK8sApiCoreV1EnvVarSource": IoK8sApiCoreV1EnvVarSource, + "IoK8sApiCoreV1EphemeralVolumeSource": IoK8sApiCoreV1EphemeralVolumeSource, + "IoK8sApiCoreV1Event": IoK8sApiCoreV1Event, + "IoK8sApiCoreV1EventSeries": IoK8sApiCoreV1EventSeries, + "IoK8sApiCoreV1EventSource": IoK8sApiCoreV1EventSource, + "IoK8sApiCoreV1ExecAction": IoK8sApiCoreV1ExecAction, + "IoK8sApiCoreV1FCVolumeSource": IoK8sApiCoreV1FCVolumeSource, + "IoK8sApiCoreV1FlexVolumeSource": IoK8sApiCoreV1FlexVolumeSource, + "IoK8sApiCoreV1FlockerVolumeSource": IoK8sApiCoreV1FlockerVolumeSource, + "IoK8sApiCoreV1GCEPersistentDiskVolumeSource": IoK8sApiCoreV1GCEPersistentDiskVolumeSource, + "IoK8sApiCoreV1GRPCAction": IoK8sApiCoreV1GRPCAction, + "IoK8sApiCoreV1GitRepoVolumeSource": IoK8sApiCoreV1GitRepoVolumeSource, + "IoK8sApiCoreV1GlusterfsVolumeSource": IoK8sApiCoreV1GlusterfsVolumeSource, + "IoK8sApiCoreV1HTTPGetAction": IoK8sApiCoreV1HTTPGetAction, + "IoK8sApiCoreV1HTTPHeader": IoK8sApiCoreV1HTTPHeader, + "IoK8sApiCoreV1HostAlias": IoK8sApiCoreV1HostAlias, + "IoK8sApiCoreV1HostPathVolumeSource": IoK8sApiCoreV1HostPathVolumeSource, + "IoK8sApiCoreV1ISCSIVolumeSource": IoK8sApiCoreV1ISCSIVolumeSource, + "IoK8sApiCoreV1KeyToPath": IoK8sApiCoreV1KeyToPath, + "IoK8sApiCoreV1Lifecycle": IoK8sApiCoreV1Lifecycle, + "IoK8sApiCoreV1LifecycleHandler": IoK8sApiCoreV1LifecycleHandler, + "IoK8sApiCoreV1LocalObjectReference": IoK8sApiCoreV1LocalObjectReference, + "IoK8sApiCoreV1NFSVolumeSource": IoK8sApiCoreV1NFSVolumeSource, + "IoK8sApiCoreV1NodeAffinity": IoK8sApiCoreV1NodeAffinity, + "IoK8sApiCoreV1NodeSelector": IoK8sApiCoreV1NodeSelector, + "IoK8sApiCoreV1NodeSelectorRequirement": IoK8sApiCoreV1NodeSelectorRequirement, + "IoK8sApiCoreV1NodeSelectorTerm": IoK8sApiCoreV1NodeSelectorTerm, + "IoK8sApiCoreV1ObjectFieldSelector": IoK8sApiCoreV1ObjectFieldSelector, + "IoK8sApiCoreV1ObjectReference": IoK8sApiCoreV1ObjectReference, + "IoK8sApiCoreV1PersistentVolumeClaim": IoK8sApiCoreV1PersistentVolumeClaim, + "IoK8sApiCoreV1PersistentVolumeClaimCondition": IoK8sApiCoreV1PersistentVolumeClaimCondition, + "IoK8sApiCoreV1PersistentVolumeClaimSpec": IoK8sApiCoreV1PersistentVolumeClaimSpec, + "IoK8sApiCoreV1PersistentVolumeClaimStatus": IoK8sApiCoreV1PersistentVolumeClaimStatus, + "IoK8sApiCoreV1PersistentVolumeClaimTemplate": IoK8sApiCoreV1PersistentVolumeClaimTemplate, + "IoK8sApiCoreV1PersistentVolumeClaimVolumeSource": IoK8sApiCoreV1PersistentVolumeClaimVolumeSource, + "IoK8sApiCoreV1PhotonPersistentDiskVolumeSource": IoK8sApiCoreV1PhotonPersistentDiskVolumeSource, + "IoK8sApiCoreV1PodAffinity": IoK8sApiCoreV1PodAffinity, + "IoK8sApiCoreV1PodAffinityTerm": IoK8sApiCoreV1PodAffinityTerm, + "IoK8sApiCoreV1PodAntiAffinity": IoK8sApiCoreV1PodAntiAffinity, + "IoK8sApiCoreV1PodDNSConfig": IoK8sApiCoreV1PodDNSConfig, + "IoK8sApiCoreV1PodDNSConfigOption": IoK8sApiCoreV1PodDNSConfigOption, + "IoK8sApiCoreV1PodSecurityContext": IoK8sApiCoreV1PodSecurityContext, + "IoK8sApiCoreV1PortworxVolumeSource": IoK8sApiCoreV1PortworxVolumeSource, + "IoK8sApiCoreV1PreferredSchedulingTerm": IoK8sApiCoreV1PreferredSchedulingTerm, + "IoK8sApiCoreV1Probe": IoK8sApiCoreV1Probe, + "IoK8sApiCoreV1ProjectedVolumeSource": IoK8sApiCoreV1ProjectedVolumeSource, + "IoK8sApiCoreV1QuobyteVolumeSource": IoK8sApiCoreV1QuobyteVolumeSource, + "IoK8sApiCoreV1RBDVolumeSource": IoK8sApiCoreV1RBDVolumeSource, + "IoK8sApiCoreV1ResourceFieldSelector": IoK8sApiCoreV1ResourceFieldSelector, + "IoK8sApiCoreV1ResourceRequirements": IoK8sApiCoreV1ResourceRequirements, + "IoK8sApiCoreV1SELinuxOptions": IoK8sApiCoreV1SELinuxOptions, + "IoK8sApiCoreV1ScaleIOVolumeSource": IoK8sApiCoreV1ScaleIOVolumeSource, + "IoK8sApiCoreV1SeccompProfile": IoK8sApiCoreV1SeccompProfile, + "IoK8sApiCoreV1SecretEnvSource": IoK8sApiCoreV1SecretEnvSource, + "IoK8sApiCoreV1SecretKeySelector": IoK8sApiCoreV1SecretKeySelector, + "IoK8sApiCoreV1SecretProjection": IoK8sApiCoreV1SecretProjection, + "IoK8sApiCoreV1SecretVolumeSource": IoK8sApiCoreV1SecretVolumeSource, + "IoK8sApiCoreV1SecurityContext": IoK8sApiCoreV1SecurityContext, + "IoK8sApiCoreV1ServiceAccountTokenProjection": IoK8sApiCoreV1ServiceAccountTokenProjection, + "IoK8sApiCoreV1ServicePort": IoK8sApiCoreV1ServicePort, + "IoK8sApiCoreV1StorageOSVolumeSource": IoK8sApiCoreV1StorageOSVolumeSource, + "IoK8sApiCoreV1Sysctl": IoK8sApiCoreV1Sysctl, + "IoK8sApiCoreV1TCPSocketAction": IoK8sApiCoreV1TCPSocketAction, + "IoK8sApiCoreV1Toleration": IoK8sApiCoreV1Toleration, + "IoK8sApiCoreV1TypedLocalObjectReference": IoK8sApiCoreV1TypedLocalObjectReference, + "IoK8sApiCoreV1Volume": IoK8sApiCoreV1Volume, + "IoK8sApiCoreV1VolumeDevice": IoK8sApiCoreV1VolumeDevice, + "IoK8sApiCoreV1VolumeMount": IoK8sApiCoreV1VolumeMount, + "IoK8sApiCoreV1VolumeProjection": IoK8sApiCoreV1VolumeProjection, + "IoK8sApiCoreV1VsphereVirtualDiskVolumeSource": IoK8sApiCoreV1VsphereVirtualDiskVolumeSource, + "IoK8sApiCoreV1WeightedPodAffinityTerm": IoK8sApiCoreV1WeightedPodAffinityTerm, + "IoK8sApiCoreV1WindowsSecurityContextOptions": IoK8sApiCoreV1WindowsSecurityContextOptions, + "IoK8sApiPolicyV1PodDisruptionBudgetSpec": IoK8sApiPolicyV1PodDisruptionBudgetSpec, + "IoK8sApimachineryPkgApisMetaV1CreateOptions": IoK8sApimachineryPkgApisMetaV1CreateOptions, + "IoK8sApimachineryPkgApisMetaV1GroupVersionResource": IoK8sApimachineryPkgApisMetaV1GroupVersionResource, + "IoK8sApimachineryPkgApisMetaV1LabelSelector": IoK8sApimachineryPkgApisMetaV1LabelSelector, + "IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement": IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement, + "IoK8sApimachineryPkgApisMetaV1ListMeta": IoK8sApimachineryPkgApisMetaV1ListMeta, + "IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry": IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry, + "IoK8sApimachineryPkgApisMetaV1ObjectMeta": IoK8sApimachineryPkgApisMetaV1ObjectMeta, + "IoK8sApimachineryPkgApisMetaV1OwnerReference": IoK8sApimachineryPkgApisMetaV1OwnerReference, + "IoK8sApimachineryPkgApisMetaV1StatusCause": IoK8sApimachineryPkgApisMetaV1StatusCause, + "SensorCreateSensorRequest": SensorCreateSensorRequest, + "SensorLogEntry": SensorLogEntry, + "SensorSensorWatchEvent": SensorSensorWatchEvent, + "SensorUpdateSensorRequest": SensorUpdateSensorRequest, + "StreamResultOfEventsourceEventSourceWatchEvent": StreamResultOfEventsourceEventSourceWatchEvent, + "StreamResultOfEventsourceLogEntry": StreamResultOfEventsourceLogEntry, + "StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry": StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry, + "StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent": StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent, + "StreamResultOfIoK8sApiCoreV1Event": StreamResultOfIoK8sApiCoreV1Event, + "StreamResultOfSensorLogEntry": StreamResultOfSensorLogEntry, + "StreamResultOfSensorSensorWatchEvent": StreamResultOfSensorSensorWatchEvent, +} + +export class ObjectSerializer { + public static findCorrectType(data: any, expectedType: string) { + if (data == undefined) { + return expectedType; + } else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) { + return expectedType; + } else if (expectedType === "Date") { + return expectedType; + } else { + if (enumsMap[expectedType]) { + return expectedType; + } + + if (!typeMap[expectedType]) { + return expectedType; // w/e we don't know the type + } + + // Check the discriminator + let discriminatorProperty = typeMap[expectedType].discriminator; + if (discriminatorProperty == null) { + return expectedType; // the type does not have a discriminator. use it. + } else { + if (data[discriminatorProperty]) { + var discriminatorType = data[discriminatorProperty]; + if(typeMap[discriminatorType]){ + return discriminatorType; // use the type given in the discriminator + } else { + return expectedType; // discriminator did not map to a type + } + } else { + return expectedType; // discriminator was not present (or an empty string) + } + } + } + } + + public static serialize(data: any, type: string) { + if (data == undefined) { + return data; + } else if (primitives.indexOf(type.toLowerCase()) !== -1) { + return data; + } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 + let subType: string = type.replace("Array<", ""); // Array => Type> + subType = subType.substring(0, subType.length - 1); // Type> => Type + let transformedData: any[] = []; + for (let index = 0; index < data.length; index++) { + let datum = data[index]; + transformedData.push(ObjectSerializer.serialize(datum, subType)); + } + return transformedData; + } else if (type === "Date") { + return data.toISOString(); + } else { + if (enumsMap[type]) { + return data; + } + if (!typeMap[type]) { // in case we dont know the type + return data; + } + + // Get the actual type of this object + type = this.findCorrectType(data, type); + + // get the map for the correct type. + let attributeTypes = typeMap[type].getAttributeTypeMap(); + let instance: {[index: string]: any} = {}; + for (let index = 0; index < attributeTypes.length; index++) { + let attributeType = attributeTypes[index]; + instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type); + } + return instance; + } + } + + public static deserialize(data: any, type: string) { + // polymorphism may change the actual type. + type = ObjectSerializer.findCorrectType(data, type); + if (data == undefined) { + return data; + } else if (primitives.indexOf(type.toLowerCase()) !== -1) { + return data; + } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 + let subType: string = type.replace("Array<", ""); // Array => Type> + subType = subType.substring(0, subType.length - 1); // Type> => Type + let transformedData: any[] = []; + for (let index = 0; index < data.length; index++) { + let datum = data[index]; + transformedData.push(ObjectSerializer.deserialize(datum, subType)); + } + return transformedData; + } else if (type === "Date") { + return new Date(data); + } else { + if (enumsMap[type]) {// is Enum + return data; + } + + if (!typeMap[type]) { // dont know the type + return data; + } + let instance = new typeMap[type](); + let attributeTypes = typeMap[type].getAttributeTypeMap(); + for (let index = 0; index < attributeTypes.length; index++) { + let attributeType = attributeTypes[index]; + instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type); + } + return instance; + } + } +} + +export interface Authentication { + /** + * Apply authentication settings to header and query params. + */ + applyToRequest(requestOptions: localVarRequest.Options): Promise | void; +} + +export class HttpBasicAuth implements Authentication { + public username: string = ''; + public password: string = ''; + + applyToRequest(requestOptions: localVarRequest.Options): void { + requestOptions.auth = { + username: this.username, password: this.password + } + } +} + +export class HttpBearerAuth implements Authentication { + public accessToken: string | (() => string) = ''; + + applyToRequest(requestOptions: localVarRequest.Options): void { + if (requestOptions && requestOptions.headers) { + const accessToken = typeof this.accessToken === 'function' + ? this.accessToken() + : this.accessToken; + requestOptions.headers["Authorization"] = "Bearer " + accessToken; + } + } +} + +export class ApiKeyAuth implements Authentication { + public apiKey: string = ''; + + constructor(private location: string, private paramName: string) { + } + + applyToRequest(requestOptions: localVarRequest.Options): void { + if (this.location == "query") { + (requestOptions.qs)[this.paramName] = this.apiKey; + } else if (this.location == "header" && requestOptions && requestOptions.headers) { + requestOptions.headers[this.paramName] = this.apiKey; + } else if (this.location == 'cookie' && requestOptions && requestOptions.headers) { + if (requestOptions.headers['Cookie']) { + requestOptions.headers['Cookie'] += '; ' + this.paramName + '=' + encodeURIComponent(this.apiKey); + } + else { + requestOptions.headers['Cookie'] = this.paramName + '=' + encodeURIComponent(this.apiKey); + } + } + } +} + +export class OAuth implements Authentication { + public accessToken: string = ''; + + applyToRequest(requestOptions: localVarRequest.Options): void { + if (requestOptions && requestOptions.headers) { + requestOptions.headers["Authorization"] = "Bearer " + this.accessToken; + } + } +} + +export class VoidAuth implements Authentication { + public username: string = ''; + public password: string = ''; + + applyToRequest(_: localVarRequest.Options): void { + // Do nothing + } +} + +export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise | void); diff --git a/plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts b/plugins/argo-workflows/src/api/generated/model/sensorCreateSensorRequest.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts rename to plugins/argo-workflows/src/api/generated/model/sensorCreateSensorRequest.ts index 334ebca..c20a1d5 100644 --- a/plugins/argo-workflows/src/api/generated/models/SensorCreateSensorRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/sensorCreateSensorRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,42 +11,36 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; -import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Sensor } from './ioArgoprojEventsV1alpha1Sensor'; +import { IoK8sApimachineryPkgApisMetaV1CreateOptions } from './ioK8sApimachineryPkgApisMetaV1CreateOptions'; export class SensorCreateSensorRequest { 'createOptions'?: IoK8sApimachineryPkgApisMetaV1CreateOptions; 'namespace'?: string; 'sensor'?: IoArgoprojEventsV1alpha1Sensor; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "createOptions", "baseName": "createOptions", - "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions", - "format": "" + "type": "IoK8sApimachineryPkgApisMetaV1CreateOptions" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "sensor", "baseName": "sensor", - "type": "IoArgoprojEventsV1alpha1Sensor", - "format": "" + "type": "IoArgoprojEventsV1alpha1Sensor" } ]; static getAttributeTypeMap() { return SensorCreateSensorRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/SensorLogEntry.ts b/plugins/argo-workflows/src/api/generated/model/sensorLogEntry.ts similarity index 69% rename from plugins/argo-workflows/src/api/generated/models/SensorLogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/sensorLogEntry.ts index d0baeb4..c0cb0bc 100644 --- a/plugins/argo-workflows/src/api/generated/models/SensorLogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/sensorLogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +11,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; export class SensorLogEntry { 'dependencyName'?: string; @@ -25,63 +26,52 @@ export class SensorLogEntry { 'time'?: Date; 'triggerName'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "dependencyName", "baseName": "dependencyName", - "type": "string", - "format": "" + "type": "string" }, { "name": "eventContext", "baseName": "eventContext", - "type": "string", - "format": "" + "type": "string" }, { "name": "level", "baseName": "level", - "type": "string", - "format": "" + "type": "string" }, { "name": "msg", "baseName": "msg", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "sensorName", "baseName": "sensorName", - "type": "string", - "format": "" + "type": "string" }, { "name": "time", "baseName": "time", - "type": "Date", - "format": "date-time" + "type": "Date" }, { "name": "triggerName", "baseName": "triggerName", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return SensorLogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/SensorSensorWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/sensorSensorWatchEvent.ts similarity index 60% rename from plugins/argo-workflows/src/api/generated/models/SensorSensorWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/sensorSensorWatchEvent.ts index 9c3bec5..b013fdc 100644 --- a/plugins/argo-workflows/src/api/generated/models/SensorSensorWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/sensorSensorWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,34 +11,29 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Sensor } from './ioArgoprojEventsV1alpha1Sensor'; export class SensorSensorWatchEvent { 'object'?: IoArgoprojEventsV1alpha1Sensor; 'type'?: string; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "object", "baseName": "object", - "type": "IoArgoprojEventsV1alpha1Sensor", - "format": "" + "type": "IoArgoprojEventsV1alpha1Sensor" }, { "name": "type", "baseName": "type", - "type": "string", - "format": "" + "type": "string" } ]; static getAttributeTypeMap() { return SensorSensorWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/SensorUpdateSensorRequest.ts b/plugins/argo-workflows/src/api/generated/model/sensorUpdateSensorRequest.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/SensorUpdateSensorRequest.ts rename to plugins/argo-workflows/src/api/generated/model/sensorUpdateSensorRequest.ts index e817dbc..0ca2f4f 100644 --- a/plugins/argo-workflows/src/api/generated/models/SensorUpdateSensorRequest.ts +++ b/plugins/argo-workflows/src/api/generated/model/sensorUpdateSensorRequest.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,41 +11,35 @@ * Do not edit the class manually. */ -import { IoArgoprojEventsV1alpha1Sensor } from '../models/IoArgoprojEventsV1alpha1Sensor'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { IoArgoprojEventsV1alpha1Sensor } from './ioArgoprojEventsV1alpha1Sensor'; export class SensorUpdateSensorRequest { 'name'?: string; 'namespace'?: string; 'sensor'?: IoArgoprojEventsV1alpha1Sensor; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "name", "baseName": "name", - "type": "string", - "format": "" + "type": "string" }, { "name": "namespace", "baseName": "namespace", - "type": "string", - "format": "" + "type": "string" }, { "name": "sensor", "baseName": "sensor", - "type": "IoArgoprojEventsV1alpha1Sensor", - "format": "" + "type": "IoArgoprojEventsV1alpha1Sensor" } ]; static getAttributeTypeMap() { return SensorUpdateSensorRequest.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceEventSourceWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceEventSourceWatchEvent.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceEventSourceWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceEventSourceWatchEvent.ts index 3b246f4..996fba7 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceEventSourceWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceEventSourceWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { EventsourceEventSourceWatchEvent } from '../models/EventsourceEventSourceWatchEvent'; -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { EventsourceEventSourceWatchEvent } from './eventsourceEventSourceWatchEvent'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; export class StreamResultOfEventsourceEventSourceWatchEvent { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: EventsourceEventSourceWatchEvent; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "EventsourceEventSourceWatchEvent", - "format": "" + "type": "EventsourceEventSourceWatchEvent" } ]; static getAttributeTypeMap() { return StreamResultOfEventsourceEventSourceWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceLogEntry.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceLogEntry.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceLogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceLogEntry.ts index 77eb233..aea1cf4 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfEventsourceLogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfEventsourceLogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { EventsourceLogEntry } from '../models/EventsourceLogEntry'; -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { EventsourceLogEntry } from './eventsourceLogEntry'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; export class StreamResultOfEventsourceLogEntry { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: EventsourceLogEntry; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "EventsourceLogEntry", - "format": "" + "type": "EventsourceLogEntry" } ]; static getAttributeTypeMap() { return StreamResultOfEventsourceLogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts index 90188b6..f66ae28 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1LogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { IoArgoprojWorkflowV1alpha1LogEntry } from '../models/IoArgoprojWorkflowV1alpha1LogEntry'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1LogEntry } from './ioArgoprojWorkflowV1alpha1LogEntry'; export class StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: IoArgoprojWorkflowV1alpha1LogEntry; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "IoArgoprojWorkflowV1alpha1LogEntry", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1LogEntry" } ]; static getAttributeTypeMap() { return StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts similarity index 61% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts index 0cbde75..8f3ef6c 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { IoArgoprojWorkflowV1alpha1WorkflowWatchEvent } from './ioArgoprojWorkflowV1alpha1WorkflowWatchEvent'; export class StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: IoArgoprojWorkflowV1alpha1WorkflowWatchEvent; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "IoArgoprojWorkflowV1alpha1WorkflowWatchEvent", - "format": "" + "type": "IoArgoprojWorkflowV1alpha1WorkflowWatchEvent" } ]; static getAttributeTypeMap() { return StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoK8sApiCoreV1Event.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoK8sApiCoreV1Event.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfIoK8sApiCoreV1Event.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfIoK8sApiCoreV1Event.ts index 2561ab1..ebaa78f 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfIoK8sApiCoreV1Event.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfIoK8sApiCoreV1Event.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { IoK8sApiCoreV1Event } from '../models/IoK8sApiCoreV1Event'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { IoK8sApiCoreV1Event } from './ioK8sApiCoreV1Event'; export class StreamResultOfIoK8sApiCoreV1Event { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: IoK8sApiCoreV1Event; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "IoK8sApiCoreV1Event", - "format": "" + "type": "IoK8sApiCoreV1Event" } ]; static getAttributeTypeMap() { return StreamResultOfIoK8sApiCoreV1Event.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorLogEntry.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfSensorLogEntry.ts similarity index 58% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorLogEntry.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfSensorLogEntry.ts index 6015c32..53814dc 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorLogEntry.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfSensorLogEntry.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { SensorLogEntry } from '../models/SensorLogEntry'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { SensorLogEntry } from './sensorLogEntry'; export class StreamResultOfSensorLogEntry { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: SensorLogEntry; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "SensorLogEntry", - "format": "" + "type": "SensorLogEntry" } ]; static getAttributeTypeMap() { return StreamResultOfSensorLogEntry.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorSensorWatchEvent.ts b/plugins/argo-workflows/src/api/generated/model/streamResultOfSensorSensorWatchEvent.ts similarity index 57% rename from plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorSensorWatchEvent.ts rename to plugins/argo-workflows/src/api/generated/model/streamResultOfSensorSensorWatchEvent.ts index 2954ca4..d6fe4ca 100644 --- a/plugins/argo-workflows/src/api/generated/models/StreamResultOfSensorSensorWatchEvent.ts +++ b/plugins/argo-workflows/src/api/generated/model/streamResultOfSensorSensorWatchEvent.ts @@ -1,8 +1,9 @@ +// @ts-nocheck /** * 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 + * The version of the OpenAPI document: VERSION * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,35 +11,30 @@ * Do not edit the class manually. */ -import { GrpcGatewayRuntimeStreamError } from '../models/GrpcGatewayRuntimeStreamError'; -import { SensorSensorWatchEvent } from '../models/SensorSensorWatchEvent'; -import { HttpFile } from '../http/http'; +import { RequestFile } from './models'; +import { GrpcGatewayRuntimeStreamError } from './grpcGatewayRuntimeStreamError'; +import { SensorSensorWatchEvent } from './sensorSensorWatchEvent'; export class StreamResultOfSensorSensorWatchEvent { 'error'?: GrpcGatewayRuntimeStreamError; 'result'?: SensorSensorWatchEvent; - static readonly discriminator: string | undefined = undefined; + static discriminator: string | undefined = undefined; - static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "error", "baseName": "error", - "type": "GrpcGatewayRuntimeStreamError", - "format": "" + "type": "GrpcGatewayRuntimeStreamError" }, { "name": "result", "baseName": "result", - "type": "SensorSensorWatchEvent", - "format": "" + "type": "SensorSensorWatchEvent" } ]; static getAttributeTypeMap() { return StreamResultOfSensorSensorWatchEvent.attributeTypeMap; } - - public constructor() { - } } diff --git a/plugins/argo-workflows/src/api/generated/models/all.ts b/plugins/argo-workflows/src/api/generated/models/all.ts deleted file mode 100644 index 0bdefaa..0000000 --- a/plugins/argo-workflows/src/api/generated/models/all.ts +++ /dev/null @@ -1,381 +0,0 @@ -export * from '../models/EventsourceCreateEventSourceRequest' -export * from '../models/EventsourceEventSourceWatchEvent' -export * from '../models/EventsourceLogEntry' -export * from '../models/EventsourceUpdateEventSourceRequest' -export * from '../models/GoogleProtobufAny' -export * from '../models/GrpcGatewayRuntimeError' -export * from '../models/GrpcGatewayRuntimeStreamError' -export * from '../models/IoArgoprojEventsV1alpha1AMQPConsumeConfig' -export * from '../models/IoArgoprojEventsV1alpha1AMQPEventSource' -export * from '../models/IoArgoprojEventsV1alpha1AMQPExchangeDeclareConfig' -export * from '../models/IoArgoprojEventsV1alpha1AMQPQueueBindConfig' -export * from '../models/IoArgoprojEventsV1alpha1AMQPQueueDeclareConfig' -export * from '../models/IoArgoprojEventsV1alpha1AWSLambdaTrigger' -export * from '../models/IoArgoprojEventsV1alpha1Amount' -export * from '../models/IoArgoprojEventsV1alpha1ArgoWorkflowTrigger' -export * from '../models/IoArgoprojEventsV1alpha1ArtifactLocation' -export * from '../models/IoArgoprojEventsV1alpha1AzureEventHubsTrigger' -export * from '../models/IoArgoprojEventsV1alpha1AzureEventsHubEventSource' -export * from '../models/IoArgoprojEventsV1alpha1Backoff' -export * from '../models/IoArgoprojEventsV1alpha1BasicAuth' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketAuth' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketBasicAuth' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketEventSource' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketRepository' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketServerEventSource' -export * from '../models/IoArgoprojEventsV1alpha1BitbucketServerRepository' -export * from '../models/IoArgoprojEventsV1alpha1CalendarEventSource' -export * from '../models/IoArgoprojEventsV1alpha1CatchupConfiguration' -export * from '../models/IoArgoprojEventsV1alpha1Condition' -export * from '../models/IoArgoprojEventsV1alpha1ConditionsResetByTime' -export * from '../models/IoArgoprojEventsV1alpha1ConditionsResetCriteria' -export * from '../models/IoArgoprojEventsV1alpha1ConfigMapPersistence' -export * from '../models/IoArgoprojEventsV1alpha1CustomTrigger' -export * from '../models/IoArgoprojEventsV1alpha1DataFilter' -export * from '../models/IoArgoprojEventsV1alpha1EmitterEventSource' -export * from '../models/IoArgoprojEventsV1alpha1EventContext' -export * from '../models/IoArgoprojEventsV1alpha1EventDependency' -export * from '../models/IoArgoprojEventsV1alpha1EventDependencyFilter' -export * from '../models/IoArgoprojEventsV1alpha1EventDependencyTransformer' -export * from '../models/IoArgoprojEventsV1alpha1EventPersistence' -export * from '../models/IoArgoprojEventsV1alpha1EventSource' -export * from '../models/IoArgoprojEventsV1alpha1EventSourceFilter' -export * from '../models/IoArgoprojEventsV1alpha1EventSourceList' -export * from '../models/IoArgoprojEventsV1alpha1EventSourceSpec' -export * from '../models/IoArgoprojEventsV1alpha1EventSourceStatus' -export * from '../models/IoArgoprojEventsV1alpha1ExprFilter' -export * from '../models/IoArgoprojEventsV1alpha1FileArtifact' -export * from '../models/IoArgoprojEventsV1alpha1FileEventSource' -export * from '../models/IoArgoprojEventsV1alpha1GenericEventSource' -export * from '../models/IoArgoprojEventsV1alpha1GitArtifact' -export * from '../models/IoArgoprojEventsV1alpha1GitCreds' -export * from '../models/IoArgoprojEventsV1alpha1GitRemoteConfig' -export * from '../models/IoArgoprojEventsV1alpha1GithubAppCreds' -export * from '../models/IoArgoprojEventsV1alpha1GithubEventSource' -export * from '../models/IoArgoprojEventsV1alpha1GitlabEventSource' -export * from '../models/IoArgoprojEventsV1alpha1HDFSEventSource' -export * from '../models/IoArgoprojEventsV1alpha1HTTPTrigger' -export * from '../models/IoArgoprojEventsV1alpha1Int64OrString' -export * from '../models/IoArgoprojEventsV1alpha1K8SResourcePolicy' -export * from '../models/IoArgoprojEventsV1alpha1KafkaConsumerGroup' -export * from '../models/IoArgoprojEventsV1alpha1KafkaEventSource' -export * from '../models/IoArgoprojEventsV1alpha1KafkaTrigger' -export * from '../models/IoArgoprojEventsV1alpha1LogTrigger' -export * from '../models/IoArgoprojEventsV1alpha1MQTTEventSource' -export * from '../models/IoArgoprojEventsV1alpha1Metadata' -export * from '../models/IoArgoprojEventsV1alpha1NATSAuth' -export * from '../models/IoArgoprojEventsV1alpha1NATSEventsSource' -export * from '../models/IoArgoprojEventsV1alpha1NATSTrigger' -export * from '../models/IoArgoprojEventsV1alpha1NSQEventSource' -export * from '../models/IoArgoprojEventsV1alpha1OpenWhiskTrigger' -export * from '../models/IoArgoprojEventsV1alpha1OwnedRepositories' -export * from '../models/IoArgoprojEventsV1alpha1PayloadField' -export * from '../models/IoArgoprojEventsV1alpha1PubSubEventSource' -export * from '../models/IoArgoprojEventsV1alpha1PulsarEventSource' -export * from '../models/IoArgoprojEventsV1alpha1PulsarTrigger' -export * from '../models/IoArgoprojEventsV1alpha1RateLimit' -export * from '../models/IoArgoprojEventsV1alpha1RedisEventSource' -export * from '../models/IoArgoprojEventsV1alpha1RedisStreamEventSource' -export * from '../models/IoArgoprojEventsV1alpha1Resource' -export * from '../models/IoArgoprojEventsV1alpha1ResourceEventSource' -export * from '../models/IoArgoprojEventsV1alpha1ResourceFilter' -export * from '../models/IoArgoprojEventsV1alpha1S3Artifact' -export * from '../models/IoArgoprojEventsV1alpha1S3Bucket' -export * from '../models/IoArgoprojEventsV1alpha1S3Filter' -export * from '../models/IoArgoprojEventsV1alpha1SASLConfig' -export * from '../models/IoArgoprojEventsV1alpha1SNSEventSource' -export * from '../models/IoArgoprojEventsV1alpha1SQSEventSource' -export * from '../models/IoArgoprojEventsV1alpha1SecureHeader' -export * from '../models/IoArgoprojEventsV1alpha1Selector' -export * from '../models/IoArgoprojEventsV1alpha1Sensor' -export * from '../models/IoArgoprojEventsV1alpha1SensorList' -export * from '../models/IoArgoprojEventsV1alpha1SensorSpec' -export * from '../models/IoArgoprojEventsV1alpha1SensorStatus' -export * from '../models/IoArgoprojEventsV1alpha1Service' -export * from '../models/IoArgoprojEventsV1alpha1SlackEventSource' -export * from '../models/IoArgoprojEventsV1alpha1SlackTrigger' -export * from '../models/IoArgoprojEventsV1alpha1StandardK8STrigger' -export * from '../models/IoArgoprojEventsV1alpha1Status' -export * from '../models/IoArgoprojEventsV1alpha1StatusPolicy' -export * from '../models/IoArgoprojEventsV1alpha1StorageGridEventSource' -export * from '../models/IoArgoprojEventsV1alpha1StorageGridFilter' -export * from '../models/IoArgoprojEventsV1alpha1StripeEventSource' -export * from '../models/IoArgoprojEventsV1alpha1TLSConfig' -export * from '../models/IoArgoprojEventsV1alpha1Template' -export * from '../models/IoArgoprojEventsV1alpha1TimeFilter' -export * from '../models/IoArgoprojEventsV1alpha1Trigger' -export * from '../models/IoArgoprojEventsV1alpha1TriggerParameter' -export * from '../models/IoArgoprojEventsV1alpha1TriggerParameterSource' -export * from '../models/IoArgoprojEventsV1alpha1TriggerPolicy' -export * from '../models/IoArgoprojEventsV1alpha1TriggerTemplate' -export * from '../models/IoArgoprojEventsV1alpha1URLArtifact' -export * from '../models/IoArgoprojEventsV1alpha1ValueFromSource' -export * from '../models/IoArgoprojEventsV1alpha1WatchPathConfig' -export * from '../models/IoArgoprojEventsV1alpha1WebhookContext' -export * from '../models/IoArgoprojEventsV1alpha1WebhookEventSource' -export * from '../models/IoArgoprojWorkflowV1alpha1ArchiveStrategy' -export * from '../models/IoArgoprojWorkflowV1alpha1Arguments' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtGCStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1Artifact' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactGC' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactGCStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactLocation' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactPaths' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactResult' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1AzureArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1AzureArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1Backoff' -export * from '../models/IoArgoprojWorkflowV1alpha1BasicAuth' -export * from '../models/IoArgoprojWorkflowV1alpha1Cache' -export * from '../models/IoArgoprojWorkflowV1alpha1ClientCertAuth' -export * from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateCreateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateLintRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateList' -export * from '../models/IoArgoprojWorkflowV1alpha1ClusterWorkflowTemplateUpdateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1CollectEventRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1Column' -export * from '../models/IoArgoprojWorkflowV1alpha1Condition' -export * from '../models/IoArgoprojWorkflowV1alpha1ContainerNode' -export * from '../models/IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy' -export * from '../models/IoArgoprojWorkflowV1alpha1ContainerSetTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1ContinueOn' -export * from '../models/IoArgoprojWorkflowV1alpha1Counter' -export * from '../models/IoArgoprojWorkflowV1alpha1CreateCronWorkflowRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1CreateS3BucketOptions' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflow' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowList' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowResumeRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1CronWorkflowSuspendRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1DAGTask' -export * from '../models/IoArgoprojWorkflowV1alpha1DAGTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1Data' -export * from '../models/IoArgoprojWorkflowV1alpha1DataSource' -export * from '../models/IoArgoprojWorkflowV1alpha1Event' -export * from '../models/IoArgoprojWorkflowV1alpha1ExecutorConfig' -export * from '../models/IoArgoprojWorkflowV1alpha1GCSArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1GCSArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1Gauge' -export * from '../models/IoArgoprojWorkflowV1alpha1GetUserInfoResponse' -export * from '../models/IoArgoprojWorkflowV1alpha1GitArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1HDFSArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTP' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTPArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTPAuth' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTPBodySource' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTPHeader' -export * from '../models/IoArgoprojWorkflowV1alpha1HTTPHeaderSource' -export * from '../models/IoArgoprojWorkflowV1alpha1Header' -export * from '../models/IoArgoprojWorkflowV1alpha1Histogram' -export * from '../models/IoArgoprojWorkflowV1alpha1InfoResponse' -export * from '../models/IoArgoprojWorkflowV1alpha1Inputs' -export * from '../models/IoArgoprojWorkflowV1alpha1LabelKeys' -export * from '../models/IoArgoprojWorkflowV1alpha1LabelValueFrom' -export * from '../models/IoArgoprojWorkflowV1alpha1LabelValues' -export * from '../models/IoArgoprojWorkflowV1alpha1LifecycleHook' -export * from '../models/IoArgoprojWorkflowV1alpha1Link' -export * from '../models/IoArgoprojWorkflowV1alpha1LintCronWorkflowRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1LogEntry' -export * from '../models/IoArgoprojWorkflowV1alpha1ManifestFrom' -export * from '../models/IoArgoprojWorkflowV1alpha1MemoizationStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1Memoize' -export * from '../models/IoArgoprojWorkflowV1alpha1Metadata' -export * from '../models/IoArgoprojWorkflowV1alpha1MetricLabel' -export * from '../models/IoArgoprojWorkflowV1alpha1Metrics' -export * from '../models/IoArgoprojWorkflowV1alpha1Mutex' -export * from '../models/IoArgoprojWorkflowV1alpha1MutexHolding' -export * from '../models/IoArgoprojWorkflowV1alpha1MutexStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1NodeResult' -export * from '../models/IoArgoprojWorkflowV1alpha1NodeStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1OAuth2Auth' -export * from '../models/IoArgoprojWorkflowV1alpha1OAuth2EndpointParam' -export * from '../models/IoArgoprojWorkflowV1alpha1OSSArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1OSSArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule' -export * from '../models/IoArgoprojWorkflowV1alpha1Outputs' -export * from '../models/IoArgoprojWorkflowV1alpha1Parameter' -export * from '../models/IoArgoprojWorkflowV1alpha1PodGC' -export * from '../models/IoArgoprojWorkflowV1alpha1Prometheus' -export * from '../models/IoArgoprojWorkflowV1alpha1RawArtifact' -export * from '../models/IoArgoprojWorkflowV1alpha1ResourceTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1ResubmitArchivedWorkflowRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1RetryAffinity' -export * from '../models/IoArgoprojWorkflowV1alpha1RetryArchivedWorkflowRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1RetryStrategy' -export * from '../models/IoArgoprojWorkflowV1alpha1S3Artifact' -export * from '../models/IoArgoprojWorkflowV1alpha1S3ArtifactRepository' -export * from '../models/IoArgoprojWorkflowV1alpha1S3EncryptionOptions' -export * from '../models/IoArgoprojWorkflowV1alpha1ScriptTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1SemaphoreHolding' -export * from '../models/IoArgoprojWorkflowV1alpha1SemaphoreRef' -export * from '../models/IoArgoprojWorkflowV1alpha1SemaphoreStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1Sequence' -export * from '../models/IoArgoprojWorkflowV1alpha1Submit' -export * from '../models/IoArgoprojWorkflowV1alpha1SubmitOpts' -export * from '../models/IoArgoprojWorkflowV1alpha1SuspendTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1Synchronization' -export * from '../models/IoArgoprojWorkflowV1alpha1SynchronizationStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1TTLStrategy' -export * from '../models/IoArgoprojWorkflowV1alpha1TarStrategy' -export * from '../models/IoArgoprojWorkflowV1alpha1Template' -export * from '../models/IoArgoprojWorkflowV1alpha1TemplateRef' -export * from '../models/IoArgoprojWorkflowV1alpha1TransformationStep' -export * from '../models/IoArgoprojWorkflowV1alpha1UpdateCronWorkflowRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1UserContainer' -export * from '../models/IoArgoprojWorkflowV1alpha1ValueFrom' -export * from '../models/IoArgoprojWorkflowV1alpha1Version' -export * from '../models/IoArgoprojWorkflowV1alpha1VolumeClaimGC' -export * from '../models/IoArgoprojWorkflowV1alpha1Workflow' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowCreateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBinding' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingList' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowEventBindingSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowLevelArtifactGC' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowLintRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowList' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowMetadata' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowResumeRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowRetryRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowSetRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowStep' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowStopRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplate' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateList' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateRef' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTemplateUpdateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest' -export * from '../models/IoArgoprojWorkflowV1alpha1WorkflowWatchEvent' -export * from '../models/IoK8sApiCoreV1AWSElasticBlockStoreVolumeSource' -export * from '../models/IoK8sApiCoreV1Affinity' -export * from '../models/IoK8sApiCoreV1AzureDiskVolumeSource' -export * from '../models/IoK8sApiCoreV1AzureFileVolumeSource' -export * from '../models/IoK8sApiCoreV1CSIVolumeSource' -export * from '../models/IoK8sApiCoreV1Capabilities' -export * from '../models/IoK8sApiCoreV1CephFSVolumeSource' -export * from '../models/IoK8sApiCoreV1CinderVolumeSource' -export * from '../models/IoK8sApiCoreV1ConfigMapEnvSource' -export * from '../models/IoK8sApiCoreV1ConfigMapKeySelector' -export * from '../models/IoK8sApiCoreV1ConfigMapProjection' -export * from '../models/IoK8sApiCoreV1ConfigMapVolumeSource' -export * from '../models/IoK8sApiCoreV1Container' -export * from '../models/IoK8sApiCoreV1ContainerPort' -export * from '../models/IoK8sApiCoreV1DownwardAPIProjection' -export * from '../models/IoK8sApiCoreV1DownwardAPIVolumeFile' -export * from '../models/IoK8sApiCoreV1DownwardAPIVolumeSource' -export * from '../models/IoK8sApiCoreV1EmptyDirVolumeSource' -export * from '../models/IoK8sApiCoreV1EnvFromSource' -export * from '../models/IoK8sApiCoreV1EnvVar' -export * from '../models/IoK8sApiCoreV1EnvVarSource' -export * from '../models/IoK8sApiCoreV1EphemeralVolumeSource' -export * from '../models/IoK8sApiCoreV1Event' -export * from '../models/IoK8sApiCoreV1EventSeries' -export * from '../models/IoK8sApiCoreV1EventSource' -export * from '../models/IoK8sApiCoreV1ExecAction' -export * from '../models/IoK8sApiCoreV1FCVolumeSource' -export * from '../models/IoK8sApiCoreV1FlexVolumeSource' -export * from '../models/IoK8sApiCoreV1FlockerVolumeSource' -export * from '../models/IoK8sApiCoreV1GCEPersistentDiskVolumeSource' -export * from '../models/IoK8sApiCoreV1GRPCAction' -export * from '../models/IoK8sApiCoreV1GitRepoVolumeSource' -export * from '../models/IoK8sApiCoreV1GlusterfsVolumeSource' -export * from '../models/IoK8sApiCoreV1HTTPGetAction' -export * from '../models/IoK8sApiCoreV1HTTPHeader' -export * from '../models/IoK8sApiCoreV1HostAlias' -export * from '../models/IoK8sApiCoreV1HostPathVolumeSource' -export * from '../models/IoK8sApiCoreV1ISCSIVolumeSource' -export * from '../models/IoK8sApiCoreV1KeyToPath' -export * from '../models/IoK8sApiCoreV1Lifecycle' -export * from '../models/IoK8sApiCoreV1LifecycleHandler' -export * from '../models/IoK8sApiCoreV1LocalObjectReference' -export * from '../models/IoK8sApiCoreV1NFSVolumeSource' -export * from '../models/IoK8sApiCoreV1NodeAffinity' -export * from '../models/IoK8sApiCoreV1NodeSelector' -export * from '../models/IoK8sApiCoreV1NodeSelectorRequirement' -export * from '../models/IoK8sApiCoreV1NodeSelectorTerm' -export * from '../models/IoK8sApiCoreV1ObjectFieldSelector' -export * from '../models/IoK8sApiCoreV1ObjectReference' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaim' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaimCondition' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaimSpec' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaimStatus' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaimTemplate' -export * from '../models/IoK8sApiCoreV1PersistentVolumeClaimVolumeSource' -export * from '../models/IoK8sApiCoreV1PhotonPersistentDiskVolumeSource' -export * from '../models/IoK8sApiCoreV1PodAffinity' -export * from '../models/IoK8sApiCoreV1PodAffinityTerm' -export * from '../models/IoK8sApiCoreV1PodAntiAffinity' -export * from '../models/IoK8sApiCoreV1PodDNSConfig' -export * from '../models/IoK8sApiCoreV1PodDNSConfigOption' -export * from '../models/IoK8sApiCoreV1PodSecurityContext' -export * from '../models/IoK8sApiCoreV1PortworxVolumeSource' -export * from '../models/IoK8sApiCoreV1PreferredSchedulingTerm' -export * from '../models/IoK8sApiCoreV1Probe' -export * from '../models/IoK8sApiCoreV1ProjectedVolumeSource' -export * from '../models/IoK8sApiCoreV1QuobyteVolumeSource' -export * from '../models/IoK8sApiCoreV1RBDVolumeSource' -export * from '../models/IoK8sApiCoreV1ResourceFieldSelector' -export * from '../models/IoK8sApiCoreV1ResourceRequirements' -export * from '../models/IoK8sApiCoreV1SELinuxOptions' -export * from '../models/IoK8sApiCoreV1ScaleIOVolumeSource' -export * from '../models/IoK8sApiCoreV1SeccompProfile' -export * from '../models/IoK8sApiCoreV1SecretEnvSource' -export * from '../models/IoK8sApiCoreV1SecretKeySelector' -export * from '../models/IoK8sApiCoreV1SecretProjection' -export * from '../models/IoK8sApiCoreV1SecretVolumeSource' -export * from '../models/IoK8sApiCoreV1SecurityContext' -export * from '../models/IoK8sApiCoreV1ServiceAccountTokenProjection' -export * from '../models/IoK8sApiCoreV1ServicePort' -export * from '../models/IoK8sApiCoreV1StorageOSVolumeSource' -export * from '../models/IoK8sApiCoreV1Sysctl' -export * from '../models/IoK8sApiCoreV1TCPSocketAction' -export * from '../models/IoK8sApiCoreV1Toleration' -export * from '../models/IoK8sApiCoreV1TypedLocalObjectReference' -export * from '../models/IoK8sApiCoreV1Volume' -export * from '../models/IoK8sApiCoreV1VolumeDevice' -export * from '../models/IoK8sApiCoreV1VolumeMount' -export * from '../models/IoK8sApiCoreV1VolumeProjection' -export * from '../models/IoK8sApiCoreV1VsphereVirtualDiskVolumeSource' -export * from '../models/IoK8sApiCoreV1WeightedPodAffinityTerm' -export * from '../models/IoK8sApiCoreV1WindowsSecurityContextOptions' -export * from '../models/IoK8sApiPolicyV1PodDisruptionBudgetSpec' -export * from '../models/IoK8sApimachineryPkgApisMetaV1CreateOptions' -export * from '../models/IoK8sApimachineryPkgApisMetaV1GroupVersionResource' -export * from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelector' -export * from '../models/IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement' -export * from '../models/IoK8sApimachineryPkgApisMetaV1ListMeta' -export * from '../models/IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry' -export * from '../models/IoK8sApimachineryPkgApisMetaV1ObjectMeta' -export * from '../models/IoK8sApimachineryPkgApisMetaV1OwnerReference' -export * from '../models/IoK8sApimachineryPkgApisMetaV1StatusCause' -export * from '../models/SensorCreateSensorRequest' -export * from '../models/SensorLogEntry' -export * from '../models/SensorSensorWatchEvent' -export * from '../models/SensorUpdateSensorRequest' -export * from '../models/StreamResultOfEventsourceEventSourceWatchEvent' -export * from '../models/StreamResultOfEventsourceLogEntry' -export * from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry' -export * from '../models/StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent' -export * from '../models/StreamResultOfIoK8sApiCoreV1Event' -export * from '../models/StreamResultOfSensorLogEntry' -export * from '../models/StreamResultOfSensorSensorWatchEvent' diff --git a/plugins/argo-workflows/src/api/generated/swagger.json b/plugins/argo-workflows/src/api/generated/swagger.json new file mode 100644 index 0000000..74b9b14 --- /dev/null +++ b/plugins/argo-workflows/src/api/generated/swagger.json @@ -0,0 +1,14717 @@ +{ + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "http", + "https" + ], + "swagger": "2.0", + "info": { + "description": "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/", + "title": "Argo Workflows API", + "version": "VERSION" + }, + "host": "localhost:2746", + "paths": { + "/api/v1/archived-workflows": { + "get": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_ListArchivedWorkflows", + "parameters": [ + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + }, + { + "type": "string", + "name": "namePrefix", + "in": "query" + }, + { + "type": "string", + "name": "namespace", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/archived-workflows-label-keys": { + "get": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_ListArchivedWorkflowLabelKeys", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LabelKeys" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/archived-workflows-label-values": { + "get": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_ListArchivedWorkflowLabelValues", + "parameters": [ + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + }, + { + "type": "string", + "name": "namespace", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LabelValues" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/archived-workflows/{uid}": { + "get": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_GetArchivedWorkflow", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "namespace", + "in": "query" + }, + { + "type": "string", + "name": "name", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_DeleteArchivedWorkflow", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "namespace", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArchivedWorkflowDeletedResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/archived-workflows/{uid}/resubmit": { + "put": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_ResubmitArchivedWorkflow", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ResubmitArchivedWorkflowRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/archived-workflows/{uid}/retry": { + "put": { + "tags": [ + "ArchivedWorkflowService" + ], + "operationId": "ArchivedWorkflowService_RetryArchivedWorkflow", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryArchivedWorkflowRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cluster-workflow-templates": { + "get": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_ListClusterWorkflowTemplates", + "parameters": [ + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_CreateClusterWorkflowTemplate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cluster-workflow-templates/lint": { + "post": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_LintClusterWorkflowTemplate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateLintRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cluster-workflow-templates/{name}": { + "get": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_GetClusterWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "getOptions.resourceVersion", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "put": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_UpdateClusterWorkflowTemplate", + "parameters": [ + { + "type": "string", + "description": "DEPRECATED: This field is ignored.", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "ClusterWorkflowTemplateService" + ], + "operationId": "ClusterWorkflowTemplateService_DeleteClusterWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cron-workflows/{namespace}": { + "get": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_ListCronWorkflows", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_CreateCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CreateCronWorkflowRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cron-workflows/{namespace}/lint": { + "post": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_LintCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LintCronWorkflowRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cron-workflows/{namespace}/{name}": { + "get": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_GetCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "getOptions.resourceVersion", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "put": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_UpdateCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "DEPRECATED: This field is ignored.", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UpdateCronWorkflowRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_DeleteCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowDeletedResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cron-workflows/{namespace}/{name}/resume": { + "put": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_ResumeCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowResumeRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/cron-workflows/{namespace}/{name}/suspend": { + "put": { + "tags": [ + "CronWorkflowService" + ], + "operationId": "CronWorkflowService_SuspendCronWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowSuspendRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/event-sources/{namespace}": { + "get": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_ListEventSources", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_CreateEventSource", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/eventsource.CreateEventSourceRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/event-sources/{namespace}/{name}": { + "get": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_GetEventSource", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "put": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_UpdateEventSource", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/eventsource.UpdateEventSourceRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_DeleteEventSource", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/eventsource.EventSourceDeletedResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/events/{namespace}/{discriminator}": { + "post": { + "tags": [ + "EventService" + ], + "operationId": "EventService_ReceiveEvent", + "parameters": [ + { + "type": "string", + "description": "The namespace for the io.argoproj.workflow.v1alpha1. This can be empty if the client has cluster scoped permissions.\nIf empty, then the event is \"broadcast\" to workflow event binding in all namespaces.", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "Optional discriminator for the io.argoproj.workflow.v1alpha1. This should almost always be empty.\nUsed for edge-cases where the event payload alone is not provide enough information to discriminate the event.\nThis MUST NOT be used as security mechanism, e.g. to allow two clients to use the same access token, or\nto support webhooks on unsecured server. Instead, use access tokens.\nThis is made available as `discriminator` in the event binding selector (`/spec/event/selector)`", + "name": "discriminator", + "in": "path", + "required": true + }, + { + "description": "The event itself can be any data.", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Item" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.EventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/info": { + "get": { + "tags": [ + "InfoService" + ], + "operationId": "InfoService_GetInfo", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.InfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/sensors/{namespace}": { + "get": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_ListSensors", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SensorList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_CreateSensor", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/sensor.CreateSensorRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/sensors/{namespace}/{name}": { + "get": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_GetSensor", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "getOptions.resourceVersion", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "put": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_UpdateSensor", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/sensor.UpdateSensorRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_DeleteSensor", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/sensor.DeleteSensorResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/stream/event-sources/{namespace}": { + "get": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_WatchEventSources", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of eventsource.EventSourceWatchEvent", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/eventsource.EventSourceWatchEvent" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/stream/event-sources/{namespace}/logs": { + "get": { + "tags": [ + "EventSourceService" + ], + "operationId": "EventSourceService_EventSourcesLogs", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "optional - only return entries for this event source.", + "name": "name", + "in": "query" + }, + { + "type": "string", + "description": "optional - only return entries for this event source type (e.g. `webhook`).", + "name": "eventSourceType", + "in": "query" + }, + { + "type": "string", + "description": "optional - only return entries for this event name (e.g. `example`).", + "name": "eventName", + "in": "query" + }, + { + "type": "string", + "description": "optional - only return entries where `msg` matches this regular expression.", + "name": "grep", + "in": "query" + }, + { + "type": "string", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional.", + "name": "podLogOptions.container", + "in": "query" + }, + { + "type": "boolean", + "description": "Follow the log stream of the pod. Defaults to false.\n+optional.", + "name": "podLogOptions.follow", + "in": "query" + }, + { + "type": "boolean", + "description": "Return previous terminated container logs. Defaults to false.\n+optional.", + "name": "podLogOptions.previous", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional.", + "name": "podLogOptions.sinceSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", + "name": "podLogOptions.sinceTime.seconds", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", + "name": "podLogOptions.sinceTime.nanos", + "in": "query" + }, + { + "type": "boolean", + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional.", + "name": "podLogOptions.timestamps", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional.", + "name": "podLogOptions.tailLines", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional.", + "name": "podLogOptions.limitBytes", + "in": "query" + }, + { + "type": "boolean", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the\nserving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver\nand the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real\nkubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the\nconnection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept\nthe actual log data coming from the real kubelet).\n+optional.", + "name": "podLogOptions.insecureSkipTLSVerifyBackend", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of eventsource.LogEntry", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/eventsource.LogEntry" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/stream/events/{namespace}": { + "get": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_WatchEvents", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of io.k8s.api.core.v1.Event", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/stream/sensors/{namespace}": { + "get": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_WatchSensors", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of sensor.SensorWatchEvent", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/sensor.SensorWatchEvent" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/stream/sensors/{namespace}/logs": { + "get": { + "tags": [ + "SensorService" + ], + "operationId": "SensorService_SensorsLogs", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "optional - only return entries for this sensor name.", + "name": "name", + "in": "query" + }, + { + "type": "string", + "description": "optional - only return entries for this trigger.", + "name": "triggerName", + "in": "query" + }, + { + "type": "string", + "description": "option - only return entries where `msg` contains this regular expressions.", + "name": "grep", + "in": "query" + }, + { + "type": "string", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional.", + "name": "podLogOptions.container", + "in": "query" + }, + { + "type": "boolean", + "description": "Follow the log stream of the pod. Defaults to false.\n+optional.", + "name": "podLogOptions.follow", + "in": "query" + }, + { + "type": "boolean", + "description": "Return previous terminated container logs. Defaults to false.\n+optional.", + "name": "podLogOptions.previous", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional.", + "name": "podLogOptions.sinceSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", + "name": "podLogOptions.sinceTime.seconds", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", + "name": "podLogOptions.sinceTime.nanos", + "in": "query" + }, + { + "type": "boolean", + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional.", + "name": "podLogOptions.timestamps", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional.", + "name": "podLogOptions.tailLines", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional.", + "name": "podLogOptions.limitBytes", + "in": "query" + }, + { + "type": "boolean", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the\nserving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver\nand the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real\nkubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the\nconnection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept\nthe actual log data coming from the real kubelet).\n+optional.", + "name": "podLogOptions.insecureSkipTLSVerifyBackend", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of sensor.LogEntry", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/sensor.LogEntry" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/tracking/event": { + "post": { + "tags": [ + "InfoService" + ], + "operationId": "InfoService_CollectEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CollectEventRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CollectEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/userinfo": { + "get": { + "tags": [ + "InfoService" + ], + "operationId": "InfoService_GetUserInfo", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GetUserInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/version": { + "get": { + "tags": [ + "InfoService" + ], + "operationId": "InfoService_GetVersion", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Version" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflow-event-bindings/{namespace}": { + "get": { + "tags": [ + "EventService" + ], + "operationId": "EventService_ListWorkflowEventBindings", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowEventBindingList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflow-events/{namespace}": { + "get": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_WatchWorkflows", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + }, + { + "type": "string", + "name": "fields", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of io.argoproj.workflow.v1alpha1.WorkflowWatchEvent", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowWatchEvent" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflow-templates/{namespace}": { + "get": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_ListWorkflowTemplates", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_CreateWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflow-templates/{namespace}/lint": { + "post": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_LintWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateLintRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflow-templates/{namespace}/{name}": { + "get": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_GetWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "getOptions.resourceVersion", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "put": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_UpdateWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "DEPRECATED: This field is ignored.", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "WorkflowTemplateService" + ], + "operationId": "WorkflowTemplateService_DeleteWorkflowTemplate", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}": { + "get": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_ListWorkflows", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n+optional.", + "name": "listOptions.labelSelector", + "in": "query" + }, + { + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n+optional.", + "name": "listOptions.fieldSelector", + "in": "query" + }, + { + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of\nadd, update, and remove notifications. Specify resourceVersion.\n+optional.", + "name": "listOptions.watch", + "in": "query" + }, + { + "type": "boolean", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\".\nServers that do not implement bookmarks may ignore this flag and\nbookmarks are sent at the server's discretion. Clients should not\nassume bookmarks are returned at any specific interval, nor may they\nassume the server will send any BOOKMARK event during a session.\nIf this is not a watch, this field is ignored.\n+optional.", + "name": "listOptions.allowWatchBookmarks", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls.\nIt is highly recommended that resourceVersionMatch be set for list calls where\nresourceVersion is set\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "listOptions.resourceVersionMatch", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Timeout for the list/watch call.\nThis limits the duration of the call, regardless of any activity or inactivity.\n+optional.", + "name": "listOptions.timeoutSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the\nserver will set the `continue` field on the list metadata to a value that can be used with the\nsame initial query to retrieve the next set of results. Setting a limit may return fewer than\nthe requested amount of items (up to zero items) in the event all requested objects are\nfiltered out and clients should only use the presence of the continue field to determine whether\nmore results are available. Servers may choose not to support the limit argument and will return\nall of the available results. If limit is specified and the continue field is empty, clients may\nassume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing\na single list call without a limit - that is, no objects created, modified, or deleted after the\nfirst request is issued will be included in any subsequent continued requests. This is sometimes\nreferred to as a consistent snapshot, and ensures that a client that is using limit to receive\nsmaller chunks of a very large result can ensure they see all possible objects. If objects are\nupdated during a chunked list the version of the object that was present at the time the first list\nresult was calculated is returned.", + "name": "listOptions.limit", + "in": "query" + }, + { + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is\nserver defined, clients may only use the continue value from a previous query result with identical\nquery parameters (except for the value of continue) and the server may reject a continue value it\ndoes not recognize. If the specified continue value is no longer valid whether due to expiration\n(generally five to fifteen minutes) or a configuration change on the server, the server will\nrespond with a 410 ResourceExpired error together with a continue token. If the client needs a\nconsistent list, it must restart their list without the continue field. Otherwise, the client may\nsend another list request with the token received with the 410 error, the server will respond with\na list starting from the next key, but from the latest snapshot, which is inconsistent from the\nprevious list results - objects that are created, modified, or deleted after the first list request\nwill be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last\nresourceVersion value returned by the server and not miss any modifications.", + "name": "listOptions.continue", + "in": "query" + }, + { + "type": "string", + "description": "Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".", + "name": "fields", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "post": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_CreateWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/lint": { + "post": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_LintWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowLintRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/submit": { + "post": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_SubmitWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSubmitRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}": { + "get": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_GetWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from.\nSee https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for\ndetails.\n\nDefaults to unset\n+optional", + "name": "getOptions.resourceVersion", + "in": "query" + }, + { + "type": "string", + "description": "Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\".", + "name": "fields", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + }, + "delete": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_DeleteWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer.\nThe value zero indicates delete immediately. If this value is nil, the default grace period for the\nspecified type will be used.\nDefaults to a per object value if not specified. zero means delete immediately.\n+optional.", + "name": "deleteOptions.gracePeriodSeconds", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target UID.\n+optional.", + "name": "deleteOptions.preconditions.uid", + "in": "query" + }, + { + "type": "string", + "description": "Specifies the target ResourceVersion\n+optional.", + "name": "deleteOptions.preconditions.resourceVersion", + "in": "query" + }, + { + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\nShould the dependent objects be orphaned. If true/false, the \"orphan\"\nfinalizer will be added to/removed from the object's finalizers list.\nEither this field or PropagationPolicy may be set, but not both.\n+optional.", + "name": "deleteOptions.orphanDependents", + "in": "query" + }, + { + "type": "string", + "description": "Whether and how garbage collection will be performed.\nEither this field or OrphanDependents may be set, but not both.\nThe default policy is decided by the existing finalizer set in the\nmetadata.finalizers and the resource-specific default policy.\nAcceptable values are: 'Orphan' - orphan the dependents; 'Background' -\nallow the garbage collector to delete the dependents in the background;\n'Foreground' - a cascading policy that deletes all dependents in the\nforeground.\n+optional.", + "name": "deleteOptions.propagationPolicy", + "in": "query" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional.", + "name": "deleteOptions.dryRun", + "in": "query" + }, + { + "type": "boolean", + "name": "force", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/log": { + "get": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_WorkflowLogs", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "podName", + "in": "query" + }, + { + "type": "string", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional.", + "name": "logOptions.container", + "in": "query" + }, + { + "type": "boolean", + "description": "Follow the log stream of the pod. Defaults to false.\n+optional.", + "name": "logOptions.follow", + "in": "query" + }, + { + "type": "boolean", + "description": "Return previous terminated container logs. Defaults to false.\n+optional.", + "name": "logOptions.previous", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional.", + "name": "logOptions.sinceSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", + "name": "logOptions.sinceTime.seconds", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", + "name": "logOptions.sinceTime.nanos", + "in": "query" + }, + { + "type": "boolean", + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional.", + "name": "logOptions.timestamps", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional.", + "name": "logOptions.tailLines", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional.", + "name": "logOptions.limitBytes", + "in": "query" + }, + { + "type": "boolean", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the\nserving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver\nand the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real\nkubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the\nconnection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept\nthe actual log data coming from the real kubelet).\n+optional.", + "name": "logOptions.insecureSkipTLSVerifyBackend", + "in": "query" + }, + { + "type": "string", + "name": "grep", + "in": "query" + }, + { + "type": "string", + "name": "selector", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of io.argoproj.workflow.v1alpha1.LogEntry", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LogEntry" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/resubmit": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_ResubmitWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowResubmitRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/resume": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_ResumeWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowResumeRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/retry": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_RetryWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowRetryRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/set": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_SetWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSetRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/stop": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_StopWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowStopRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/suspend": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_SuspendWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSuspendRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/terminate": { + "put": { + "tags": [ + "WorkflowService" + ], + "operationId": "WorkflowService_TerminateWorkflow", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTerminateRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/api/v1/workflows/{namespace}/{name}/{podName}/log": { + "get": { + "tags": [ + "WorkflowService" + ], + "summary": "DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs.", + "operationId": "WorkflowService_PodLogs", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "podName", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.\n+optional.", + "name": "logOptions.container", + "in": "query" + }, + { + "type": "boolean", + "description": "Follow the log stream of the pod. Defaults to false.\n+optional.", + "name": "logOptions.follow", + "in": "query" + }, + { + "type": "boolean", + "description": "Return previous terminated container logs. Defaults to false.\n+optional.", + "name": "logOptions.previous", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "A relative time in seconds before the current time from which to show logs. If this value\nprecedes the time a pod was started, only logs since the pod start will be returned.\nIf this value is in the future, no logs will be returned.\nOnly one of sinceSeconds or sinceTime may be specified.\n+optional.", + "name": "logOptions.sinceSeconds", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", + "name": "logOptions.sinceTime.seconds", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", + "name": "logOptions.sinceTime.nanos", + "in": "query" + }, + { + "type": "boolean", + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\nof log output. Defaults to false.\n+optional.", + "name": "logOptions.timestamps", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of lines from the end of the logs to show. If not specified,\nlogs are shown from the creation of the container or sinceSeconds or sinceTime\n+optional.", + "name": "logOptions.tailLines", + "in": "query" + }, + { + "type": "string", + "format": "int64", + "description": "If set, the number of bytes to read from the server before terminating the\nlog output. This may not display a complete final line of logging, and may return\nslightly more or slightly less than the specified limit.\n+optional.", + "name": "logOptions.limitBytes", + "in": "query" + }, + { + "type": "boolean", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the\nserving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver\nand the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real\nkubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the\nconnection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept\nthe actual log data coming from the real kubelet).\n+optional.", + "name": "logOptions.insecureSkipTLSVerifyBackend", + "in": "query" + }, + { + "type": "string", + "name": "grep", + "in": "query" + }, + { + "type": "string", + "name": "selector", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "title": "Stream result of io.argoproj.workflow.v1alpha1.LogEntry", + "properties": { + "error": { + "$ref": "#/definitions/grpc.gateway.runtime.StreamError" + }, + "result": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LogEntry" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}": { + "get": { + "tags": [ + "ArtifactService" + ], + "summary": "Get an artifact.", + "operationId": "ArtifactService_GetArtifactFile", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "enum": [ + "workflow", + "archived-workflows " + ], + "type": "string", + "name": "idDiscriminator", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "nodeId", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "artifactName", + "in": "path", + "required": true + }, + { + "enum": [ + "outputs" + ], + "type": "string", + "name": "artifactDiscriminator", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "An artifact file.", + "schema": { + "type": "string", + "format": "binary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": { + "get": { + "tags": [ + "ArtifactService" + ], + "summary": "Get an output artifact by UID.", + "operationId": "ArtifactService_GetOutputArtifactByUID", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "nodeId", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "artifactName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "An artifact file.", + "schema": { + "type": "string", + "format": "binary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/artifacts/{namespace}/{name}/{nodeId}/{artifactName}": { + "get": { + "tags": [ + "ArtifactService" + ], + "summary": "Get an output artifact.", + "operationId": "ArtifactService_GetOutputArtifact", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "nodeId", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "artifactName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "An artifact file.", + "schema": { + "type": "string", + "format": "binary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": { + "get": { + "tags": [ + "ArtifactService" + ], + "summary": "Get an input artifact by UID.", + "operationId": "ArtifactService_GetInputArtifactByUID", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "nodeId", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "artifactName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "An artifact file.", + "schema": { + "type": "string", + "format": "binary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + }, + "/input-artifacts/{namespace}/{name}/{nodeId}/{artifactName}": { + "get": { + "tags": [ + "ArtifactService" + ], + "summary": "Get an input artifact.", + "operationId": "ArtifactService_GetInputArtifact", + "parameters": [ + { + "type": "string", + "name": "namespace", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "name", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "nodeId", + "in": "path", + "required": true + }, + { + "type": "string", + "name": "artifactName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "An artifact file.", + "schema": { + "type": "string", + "format": "binary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/grpc.gateway.runtime.Error" + } + } + } + } + } + }, + "definitions": { + "eventsource.CreateEventSourceRequest": { + "type": "object", + "properties": { + "eventSource": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + }, + "namespace": { + "type": "string" + } + } + }, + "eventsource.EventSourceDeletedResponse": { + "type": "object" + }, + "eventsource.EventSourceWatchEvent": { + "type": "object", + "properties": { + "object": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + }, + "type": { + "type": "string" + } + } + }, + "eventsource.LogEntry": { + "type": "object", + "title": "structured log entry", + "properties": { + "eventName": { + "type": "string", + "title": "optional - the event name (e.g. `example`)" + }, + "eventSourceName": { + "type": "string" + }, + "eventSourceType": { + "type": "string", + "title": "optional - the event source type (e.g. `webhook`)" + }, + "level": { + "type": "string" + }, + "msg": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "eventsource.UpdateEventSourceRequest": { + "type": "object", + "properties": { + "eventSource": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "google.protobuf.Any": { + "type": "object", + "properties": { + "type_url": { + "type": "string" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "grpc.gateway.runtime.Error": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "grpc.gateway.runtime.StreamError": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/google.protobuf.Any" + } + }, + "grpc_code": { + "type": "integer" + }, + "http_code": { + "type": "integer" + }, + "http_status": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.AMQPConsumeConfig": { + "type": "object", + "title": "AMQPConsumeConfig holds the configuration to immediately starts delivering queued messages\n+k8s:openapi-gen=true", + "properties": { + "autoAck": { + "type": "boolean", + "title": "AutoAck when true, the server will acknowledge deliveries to this consumer prior to writing\nthe delivery to the network\n+optional" + }, + "consumerTag": { + "type": "string", + "title": "ConsumerTag is the identity of the consumer included in every delivery\n+optional" + }, + "exclusive": { + "type": "boolean", + "title": "Exclusive when true, the server will ensure that this is the sole consumer from this queue\n+optional" + }, + "noLocal": { + "type": "boolean", + "title": "NoLocal flag is not supported by RabbitMQ\n+optional" + }, + "noWait": { + "type": "boolean", + "title": "NowWait when true, do not wait for the server to confirm the request and immediately begin deliveries\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.AMQPEventSource": { + "type": "object", + "title": "AMQPEventSource refers to an event-source for AMQP stream events", + "properties": { + "auth": { + "title": "Auth hosts secret selectors for username and password\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BasicAuth" + }, + "connectionBackoff": { + "title": "Backoff holds parameters applied to connection.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "consume": { + "title": "Consume holds the configuration to immediately starts delivering queued messages\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.Consume\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPConsumeConfig" + }, + "exchangeDeclare": { + "title": "ExchangeDeclare holds the configuration for the exchange on the server\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.ExchangeDeclare\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPExchangeDeclareConfig" + }, + "exchangeName": { + "type": "string", + "title": "ExchangeName is the exchange name\nFor more information, visit https://www.rabbitmq.com/tutorials/amqp-concepts.html" + }, + "exchangeType": { + "type": "string", + "title": "ExchangeType is rabbitmq exchange type" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "queueBind": { + "title": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueBind\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueBindConfig" + }, + "queueDeclare": { + "title": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\nFor more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueDeclare\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPQueueDeclareConfig" + }, + "routingKey": { + "type": "string", + "title": "Routing key for bindings" + }, + "tls": { + "title": "TLS configuration for the amqp client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "url": { + "type": "string", + "title": "URL for rabbitmq service" + }, + "urlSecret": { + "title": "URLSecret is secret reference for rabbitmq service URL", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.AMQPExchangeDeclareConfig": { + "type": "object", + "title": "AMQPExchangeDeclareConfig holds the configuration for the exchange on the server\n+k8s:openapi-gen=true", + "properties": { + "autoDelete": { + "type": "boolean", + "title": "AutoDelete removes the exchange when no bindings are active\n+optional" + }, + "durable": { + "type": "boolean", + "title": "Durable keeps the exchange also after the server restarts\n+optional" + }, + "internal": { + "type": "boolean", + "title": "Internal when true does not accept publishings\n+optional" + }, + "noWait": { + "type": "boolean", + "title": "NowWait when true does not wait for a confirmation from the server\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.AMQPQueueBindConfig": { + "type": "object", + "title": "AMQPQueueBindConfig holds the configuration that binds an exchange to a queue so that publishings to the\nexchange will be routed to the queue when the publishing routing key matches the binding routing key\n+k8s:openapi-gen=true", + "properties": { + "noWait": { + "type": "boolean", + "title": "NowWait false and the queue could not be bound, the channel will be closed with an error\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.AMQPQueueDeclareConfig": { + "type": "object", + "title": "AMQPQueueDeclareConfig holds the configuration of a queue to hold messages and deliver to consumers.\nDeclaring creates a queue if it doesn't already exist, or ensures that an existing queue matches\nthe same parameters\n+k8s:openapi-gen=true", + "properties": { + "arguments": { + "type": "string", + "title": "Arguments of a queue (also known as \"x-arguments\") used for optional features and plugins\n+optional" + }, + "autoDelete": { + "type": "boolean", + "title": "AutoDelete removes the queue when no consumers are active\n+optional" + }, + "durable": { + "type": "boolean", + "title": "Durable keeps the queue also after the server restarts\n+optional" + }, + "exclusive": { + "type": "boolean", + "title": "Exclusive sets the queues to be accessible only by the connection that declares them and will be\ndeleted wgen the connection closes\n+optional" + }, + "name": { + "type": "string", + "title": "Name of the queue. If empty the server auto-generates a unique name for this queue\n+optional" + }, + "noWait": { + "type": "boolean", + "title": "NowWait when true, the queue assumes to be declared on the server\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.AWSLambdaTrigger": { + "type": "object", + "title": "AWSLambdaTrigger refers to specification of the trigger to invoke an AWS Lambda function", + "properties": { + "accessKey": { + "title": "AccessKey refers K8s secret containing aws access key\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "functionName": { + "description": "FunctionName refers to the name of the function to invoke.", + "type": "string" + }, + "invocationType": { + "description": "Choose from the following options.\n\n * RequestResponse (default) - Invoke the function synchronously. Keep\n the connection open until the function returns a response or times out.\n The API response includes the function response and additional data.\n\n * Event - Invoke the function asynchronously. Send events that fail multiple\n times to the function's dead-letter queue (if it's configured). The API\n response only includes a status code.\n\n * DryRun - Validate parameter values and verify that the user or role\n has permission to invoke the function.\n+optional", + "type": "string" + }, + "parameters": { + "type": "array", + "title": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "region": { + "type": "string", + "title": "Region is AWS region" + }, + "roleARN": { + "type": "string", + "title": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.\n+optional" + }, + "secretKey": { + "title": "SecretKey refers K8s secret containing aws secret key\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.Amount": { + "description": "Amount represent a numeric amount.", + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + } + } + }, + "io.argoproj.events.v1alpha1.ArgoWorkflowTrigger": { + "type": "object", + "title": "ArgoWorkflowTrigger is the trigger for the Argo Workflow", + "properties": { + "args": { + "type": "array", + "title": "Args is the list of arguments to pass to the argo CLI", + "items": { + "type": "string" + } + }, + "operation": { + "type": "string", + "title": "Operation refers to the type of operation performed on the argo workflow resource.\nDefault value is Submit.\n+optional" + }, + "parameters": { + "type": "array", + "title": "Parameters is the list of parameters to pass to resolved Argo Workflow object", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "source": { + "title": "Source of the K8s resource file(s)", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ArtifactLocation" + } + } + }, + "io.argoproj.events.v1alpha1.ArtifactLocation": { + "type": "object", + "title": "ArtifactLocation describes the source location for an external artifact", + "properties": { + "configmap": { + "title": "Configmap that stores the artifact", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "file": { + "title": "File artifact is artifact stored in a file", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.FileArtifact" + }, + "git": { + "title": "Git repository hosting the artifact", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GitArtifact" + }, + "inline": { + "type": "string", + "title": "Inline artifact is embedded in sensor spec as a string" + }, + "resource": { + "title": "Resource is generic template for K8s resource", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Resource" + }, + "s3": { + "title": "S3 compliant artifact", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.S3Artifact" + }, + "url": { + "title": "URL to fetch the artifact from", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.URLArtifact" + } + } + }, + "io.argoproj.events.v1alpha1.AzureEventHubsTrigger": { + "type": "object", + "title": "AzureEventHubsTrigger refers to specification of the Azure Event Hubs Trigger", + "properties": { + "fqdn": { + "type": "string", + "title": "FQDN refers to the namespace dns of Azure Event Hubs to be used i.e. \u003cnamespace\u003e.servicebus.windows.net" + }, + "hubName": { + "type": "string", + "title": "HubName refers to the Azure Event Hub to send events to" + }, + "parameters": { + "type": "array", + "title": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "sharedAccessKey": { + "title": "SharedAccessKey refers to a K8s secret containing the primary key for the", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "sharedAccessKeyName": { + "title": "SharedAccessKeyName refers to the name of the Shared Access Key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.AzureEventsHubEventSource": { + "type": "object", + "title": "AzureEventsHubEventSource describes the event source for azure events hub\nMore info at https://docs.microsoft.com/en-us/azure/event-hubs/", + "properties": { + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "fqdn": { + "type": "string", + "title": "FQDN of the EventHubs namespace you created\nMore info at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string" + }, + "hubName": { + "type": "string", + "title": "Event Hub path/name" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "sharedAccessKey": { + "title": "SharedAccessKey is the generated value of the key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "sharedAccessKeyName": { + "title": "SharedAccessKeyName is the name you chose for your application's SAS keys", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.Backoff": { + "type": "object", + "title": "Backoff for an operation", + "properties": { + "duration": { + "title": "The initial duration in nanoseconds or strings like \"1s\", \"3m\"\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Int64OrString" + }, + "factor": { + "title": "Duration is multiplied by factor each iteration\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Amount" + }, + "jitter": { + "title": "The amount of jitter applied each iteration\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Amount" + }, + "steps": { + "type": "integer", + "title": "Exit with error after this many steps\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.BasicAuth": { + "type": "object", + "title": "BasicAuth contains the reference to K8s secrets that holds the username and password", + "properties": { + "password": { + "description": "Password refers to the Kubernetes secret that holds the password required for basic auth.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "username": { + "description": "Username refers to the Kubernetes secret that holds the username required for basic auth.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketAuth": { + "type": "object", + "title": "BitbucketAuth holds the different auth strategies for connecting to Bitbucket", + "properties": { + "basic": { + "title": "Basic is BasicAuth auth strategy.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketBasicAuth" + }, + "oauthToken": { + "title": "OAuthToken refers to the K8s secret that holds the OAuth Bearer token.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketBasicAuth": { + "type": "object", + "title": "BasicAuth holds the information required to authenticate user via basic auth mechanism", + "properties": { + "password": { + "description": "Password refers to the K8s secret that holds the password.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "username": { + "description": "Username refers to the K8s secret that holds the username.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketEventSource": { + "type": "object", + "title": "BitbucketEventSource describes the event source for Bitbucket", + "properties": { + "auth": { + "description": "Auth information required to connect to Bitbucket.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketAuth" + }, + "deleteHookOnFinish": { + "type": "boolean", + "title": "DeleteHookOnFinish determines whether to delete the defined Bitbucket hook once the event source is stopped.\n+optional" + }, + "events": { + "description": "Events this webhook is subscribed to.", + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will be passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "owner": { + "type": "string", + "title": "DeprecatedOwner is the owner of the repository.\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" + }, + "projectKey": { + "type": "string", + "title": "DeprecatedProjectKey is the key of the project to which the repository relates\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" + }, + "repositories": { + "type": "array", + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketRepository" + } + }, + "repositorySlug": { + "type": "string", + "title": "DeprecatedRepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL\nDeprecated: use Repositories instead. Will be unsupported in v1.9\n+optional" + }, + "webhook": { + "title": "Webhook refers to the configuration required to run an http server", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketRepository": { + "type": "object", + "properties": { + "owner": { + "type": "string", + "title": "Owner is the owner of the repository" + }, + "repositorySlug": { + "type": "string", + "title": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketServerEventSource": { + "type": "object", + "title": "BitbucketServerEventSource refers to event-source related to Bitbucket Server events", + "properties": { + "accessToken": { + "title": "AccessToken is reference to K8s secret which holds the bitbucket api access information", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bitbucketserverBaseURL": { + "type": "string", + "title": "BitbucketServerBaseURL is the base URL for API requests to a custom endpoint" + }, + "deleteHookOnFinish": { + "type": "boolean", + "title": "DeleteHookOnFinish determines whether to delete the Bitbucket Server hook for the project once the event source is stopped.\n+optional" + }, + "events": { + "type": "array", + "title": "Events are bitbucket event to listen to.\nRefer https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "projectKey": { + "type": "string", + "title": "DeprecatedProjectKey is the key of project for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" + }, + "repositories": { + "type": "array", + "title": "Repositories holds a list of repositories for which integration needs to set up\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketServerRepository" + } + }, + "repositorySlug": { + "type": "string", + "title": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up\nDeprecated: use Repositories instead. Will be unsupported in v1.8\n+optional" + }, + "webhook": { + "title": "Webhook holds configuration to run a http server", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + }, + "webhookSecret": { + "title": "WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation)", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.BitbucketServerRepository": { + "type": "object", + "properties": { + "projectKey": { + "type": "string", + "title": "ProjectKey is the key of project for which integration needs to set up" + }, + "repositorySlug": { + "type": "string", + "title": "RepositorySlug is the slug of the repository for which integration needs to set up" + } + } + }, + "io.argoproj.events.v1alpha1.CalendarEventSource": { + "type": "object", + "title": "CalendarEventSource describes a time based dependency. One of the fields (schedule, interval, or recurrence) must be passed.\nSchedule takes precedence over interval; interval takes precedence over recurrence", + "properties": { + "exclusionDates": { + "description": "ExclusionDates defines the list of DATE-TIME exceptions for recurring events.", + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "interval": { + "type": "string", + "title": "Interval is a string that describes an interval duration, e.g. 1s, 30m, 2h...\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "persistence": { + "title": "Persistence hold the configuration for event persistence", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventPersistence" + }, + "schedule": { + "type": "string", + "title": "Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron\n+optional" + }, + "timezone": { + "type": "string", + "title": "Timezone in which to run the schedule\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.CatchupConfiguration": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "title": "Enabled enables to triggered the missed schedule when eventsource restarts" + }, + "maxDuration": { + "type": "string", + "title": "MaxDuration holds max catchup duration" + } + } + }, + "io.argoproj.events.v1alpha1.Condition": { + "type": "object", + "title": "Condition contains details about resource state", + "properties": { + "lastTransitionTime": { + "title": "Last time the condition transitioned from one status to another.\n+optional", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "type": "string", + "title": "Human-readable message indicating details about last transition.\n+optional" + }, + "reason": { + "type": "string", + "title": "Unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. For example, \"ImageNotFound\"\n+optional" + }, + "status": { + "type": "string", + "title": "Condition status, True, False or Unknown.\n+required" + }, + "type": { + "type": "string", + "title": "Condition type.\n+required" + } + } + }, + "io.argoproj.events.v1alpha1.ConditionsResetByTime": { + "type": "object", + "properties": { + "cron": { + "type": "string", + "title": "Cron is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron" + }, + "timezone": { + "type": "string", + "title": "+optional" + } + } + }, + "io.argoproj.events.v1alpha1.ConditionsResetCriteria": { + "type": "object", + "properties": { + "byTime": { + "title": "Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ConditionsResetByTime" + } + } + }, + "io.argoproj.events.v1alpha1.ConfigMapPersistence": { + "type": "object", + "properties": { + "createIfNotExist": { + "type": "boolean", + "title": "CreateIfNotExist will create configmap if it doesn't exists" + }, + "name": { + "type": "string", + "title": "Name of the configmap" + } + } + }, + "io.argoproj.events.v1alpha1.CustomTrigger": { + "description": "CustomTrigger refers to the specification of the custom trigger.", + "type": "object", + "properties": { + "certSecret": { + "description": "CertSecret refers to the secret that contains cert for secure connection between sensor and custom trigger gRPC server.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "parameters": { + "description": "Parameters is the list of parameters that is applied to resolved custom trigger trigger object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "secure": { + "type": "boolean", + "title": "Secure refers to type of the connection between sensor to custom trigger gRPC" + }, + "serverNameOverride": { + "description": "ServerNameOverride for the secure connection between sensor and custom trigger gRPC server.", + "type": "string" + }, + "serverURL": { + "type": "string", + "title": "ServerURL is the url of the gRPC server that executes custom trigger" + }, + "spec": { + "description": "Spec is the custom trigger resource specification that custom trigger gRPC server knows how to interpret.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.argoproj.events.v1alpha1.DataFilter": { + "type": "object", + "title": "DataFilter describes constraints and filters for event data\nRegular Expressions are purposefully not a feature as they are overkill for our uses here\nSee Rob Pike's Post: https://commandcenter.blogspot.com/2011/08/regular-expressions-in-lexing-and.html", + "properties": { + "comparator": { + "description": "Comparator compares the event data with a user given value.\nCan be \"\u003e=\", \"\u003e\", \"=\", \"!=\", \"\u003c\", or \"\u003c=\".\nIs optional, and if left blank treated as equality \"=\".", + "type": "string" + }, + "path": { + "description": "Path is the JSONPath of the event's (JSON decoded) data key\nPath is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.\nTo access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more information on how to use this.", + "type": "string" + }, + "template": { + "type": "string", + "title": "Template is a go-template for extracting a string from the event's data.\nA Template is evaluated with provided path, type and value.\nThe templating follows the standard go-template syntax as well as sprig's extra functions.\nSee https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/" + }, + "type": { + "type": "string", + "title": "Type contains the JSON type of the data" + }, + "value": { + "type": "array", + "title": "Value is the allowed string values for this key\nBooleans are passed using strconv.ParseBool()\nNumbers are parsed using as float64 using strconv.ParseFloat()\nStrings are taken as is\nNils this value is ignored", + "items": { + "type": "string" + } + } + } + }, + "io.argoproj.events.v1alpha1.EmitterEventSource": { + "type": "object", + "title": "EmitterEventSource describes the event source for emitter\nMore info at https://emitter.io/develop/getting-started/", + "properties": { + "broker": { + "description": "Broker URI to connect to.", + "type": "string" + }, + "channelKey": { + "type": "string", + "title": "ChannelKey refers to the channel key" + }, + "channelName": { + "type": "string", + "title": "ChannelName refers to the channel name" + }, + "connectionBackoff": { + "title": "Backoff holds parameters applied to connection.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "password": { + "title": "Password to use to connect to broker\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "tls": { + "title": "TLS configuration for the emitter client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "username": { + "title": "Username to use to connect to broker\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.EventContext": { + "type": "object", + "title": "EventContext holds the context of the cloudevent received from an event source.\n+protobuf.options.(gogoproto.goproto_stringer)=false", + "properties": { + "datacontenttype": { + "description": "DataContentType - A MIME (RFC2046) string describing the media type of `data`.", + "type": "string" + }, + "id": { + "description": "ID of the event; must be non-empty and unique within the scope of the producer.", + "type": "string" + }, + "source": { + "description": "Source - A URI describing the event producer.", + "type": "string" + }, + "specversion": { + "description": "SpecVersion - The version of the CloudEvents specification used by the io.argoproj.workflow.v1alpha1.", + "type": "string" + }, + "subject": { + "type": "string", + "title": "Subject - The subject of the event in the context of the event producer" + }, + "time": { + "description": "Time - A Timestamp when the event happened.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "type": { + "description": "Type - The type of the occurrence which has happened.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.EventDependency": { + "type": "object", + "title": "EventDependency describes a dependency", + "properties": { + "eventName": { + "type": "string", + "title": "EventName is the name of the event" + }, + "eventSourceName": { + "type": "string", + "title": "EventSourceName is the name of EventSource that Sensor depends on" + }, + "filters": { + "title": "Filters and rules governing toleration of success and constraints on the context and data of an event", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventDependencyFilter" + }, + "filtersLogicalOperator": { + "description": "FiltersLogicalOperator defines how different filters are evaluated together.\nAvailable values: and (\u0026\u0026), or (||)\nIs optional and if left blank treated as and (\u0026\u0026).", + "type": "string" + }, + "name": { + "type": "string", + "title": "Name is a unique name of this dependency" + }, + "transform": { + "title": "Transform transforms the event data", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventDependencyTransformer" + } + } + }, + "io.argoproj.events.v1alpha1.EventDependencyFilter": { + "description": "EventDependencyFilter defines filters and constraints for a io.argoproj.workflow.v1alpha1.", + "type": "object", + "properties": { + "context": { + "title": "Context filter constraints", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventContext" + }, + "data": { + "type": "array", + "title": "Data filter constraints with escalation", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.DataFilter" + } + }, + "dataLogicalOperator": { + "description": "DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together.\nAvailable values: and (\u0026\u0026), or (||)\nIs optional and if left blank treated as and (\u0026\u0026).", + "type": "string" + }, + "exprLogicalOperator": { + "description": "ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together.\nAvailable values: and (\u0026\u0026), or (||)\nIs optional and if left blank treated as and (\u0026\u0026).", + "type": "string" + }, + "exprs": { + "description": "Exprs contains the list of expressions evaluated against the event payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ExprFilter" + } + }, + "script": { + "description": "Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1.", + "type": "string" + }, + "time": { + "title": "Time filter on the event with escalation", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TimeFilter" + } + } + }, + "io.argoproj.events.v1alpha1.EventDependencyTransformer": { + "type": "object", + "title": "EventDependencyTransformer transforms the event", + "properties": { + "jq": { + "type": "string", + "title": "JQ holds the jq command applied for transformation\n+optional" + }, + "script": { + "type": "string", + "title": "Script refers to a Lua script used to transform the event\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.EventPersistence": { + "type": "object", + "properties": { + "catchup": { + "title": "Catchup enables to triggered the missed schedule when eventsource restarts", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.CatchupConfiguration" + }, + "configMap": { + "title": "ConfigMap holds configmap details for persistence", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ConfigMapPersistence" + } + } + }, + "io.argoproj.events.v1alpha1.EventSource": { + "type": "object", + "title": "EventSource is the definition of a eventsource resource\n+genclient\n+kubebuilder:resource:shortName=es\n+kubebuilder:subresource:status\n+k8s:deepcopy-gen:interfaces=io.k8s.apimachinery/pkg/runtime.Object\n+k8s:openapi-gen=true", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceSpec" + }, + "status": { + "title": "+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceStatus" + } + } + }, + "io.argoproj.events.v1alpha1.EventSourceFilter": { + "type": "object", + "properties": { + "expression": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.EventSourceList": { + "type": "object", + "title": "EventSourceList is the list of eventsource resources\n+k8s:deepcopy-gen:interfaces=io.k8s.apimachinery/pkg/runtime.Object", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSource" + } + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.events.v1alpha1.EventSourceSpec": { + "type": "object", + "title": "EventSourceSpec refers to specification of event-source resource", + "properties": { + "amqp": { + "type": "object", + "title": "AMQP event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AMQPEventSource" + } + }, + "azureEventsHub": { + "type": "object", + "title": "AzureEventsHub event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AzureEventsHubEventSource" + } + }, + "bitbucket": { + "type": "object", + "title": "Bitbucket event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketEventSource" + } + }, + "bitbucketserver": { + "type": "object", + "title": "Bitbucket Server event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BitbucketServerEventSource" + } + }, + "calendar": { + "type": "object", + "title": "Calendar event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.CalendarEventSource" + } + }, + "emitter": { + "type": "object", + "title": "Emitter event source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EmitterEventSource" + } + }, + "eventBusName": { + "type": "string", + "title": "EventBusName references to a EventBus name. By default the value is \"default\"" + }, + "file": { + "type": "object", + "title": "File event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.FileEventSource" + } + }, + "generic": { + "type": "object", + "title": "Generic event source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GenericEventSource" + } + }, + "github": { + "type": "object", + "title": "Github event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GithubEventSource" + } + }, + "gitlab": { + "type": "object", + "title": "Gitlab event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GitlabEventSource" + } + }, + "hdfs": { + "type": "object", + "title": "HDFS event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.HDFSEventSource" + } + }, + "kafka": { + "type": "object", + "title": "Kafka event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.KafkaEventSource" + } + }, + "minio": { + "type": "object", + "title": "Minio event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.S3Artifact" + } + }, + "mqtt": { + "type": "object", + "title": "MQTT event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.MQTTEventSource" + } + }, + "nats": { + "type": "object", + "title": "NATS event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.NATSEventsSource" + } + }, + "nsq": { + "type": "object", + "title": "NSQ event source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.NSQEventSource" + } + }, + "pubSub": { + "type": "object", + "title": "PubSub event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.PubSubEventSource" + } + }, + "pulsar": { + "type": "object", + "title": "Pulsar event source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.PulsarEventSource" + } + }, + "redis": { + "type": "object", + "title": "Redis event source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.RedisEventSource" + } + }, + "redisStream": { + "type": "object", + "title": "Redis stream source", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.RedisStreamEventSource" + } + }, + "replicas": { + "type": "integer", + "title": "Replicas is the event source deployment replicas" + }, + "resource": { + "type": "object", + "title": "Resource event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ResourceEventSource" + } + }, + "service": { + "title": "Service is the specifications of the service to expose the event source\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Service" + }, + "slack": { + "type": "object", + "title": "Slack event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SlackEventSource" + } + }, + "sns": { + "type": "object", + "title": "SNS event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SNSEventSource" + } + }, + "sqs": { + "type": "object", + "title": "SQS event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SQSEventSource" + } + }, + "storageGrid": { + "type": "object", + "title": "StorageGrid event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.StorageGridEventSource" + } + }, + "stripe": { + "type": "object", + "title": "Stripe event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.StripeEventSource" + } + }, + "template": { + "title": "Template is the pod specification for the event source\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Template" + }, + "webhook": { + "type": "object", + "title": "Webhook event sources", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookEventSource" + } + } + } + }, + "io.argoproj.events.v1alpha1.EventSourceStatus": { + "type": "object", + "title": "EventSourceStatus holds the status of the event-source resource", + "properties": { + "status": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Status" + } + } + }, + "io.argoproj.events.v1alpha1.ExprFilter": { + "type": "object", + "properties": { + "expr": { + "description": "Expr refers to the expression that determines the outcome of the filter.", + "type": "string" + }, + "fields": { + "description": "Fields refers to set of keys that refer to the paths within event payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.PayloadField" + } + } + } + }, + "io.argoproj.events.v1alpha1.FileArtifact": { + "type": "object", + "title": "FileArtifact contains information about an artifact in a filesystem", + "properties": { + "path": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.FileEventSource": { + "description": "FileEventSource describes an event-source for file related events.", + "type": "object", + "properties": { + "eventType": { + "type": "string", + "title": "Type of file operations to watch\nRefer https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more information" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "polling": { + "type": "boolean", + "title": "Use polling instead of inotify" + }, + "watchPathConfig": { + "title": "WatchPathConfig contains configuration about the file path to watch", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WatchPathConfig" + } + } + }, + "io.argoproj.events.v1alpha1.GenericEventSource": { + "description": "GenericEventSource refers to a generic event source. It can be used to implement a custom event source.", + "type": "object", + "properties": { + "authSecret": { + "title": "AuthSecret holds a secret selector that contains a bearer token for authentication\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "config": { + "type": "string", + "title": "Config is the event source configuration" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "insecure": { + "description": "Insecure determines the type of connection.", + "type": "boolean" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "url": { + "description": "URL of the gRPC server that implements the event source.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.GitArtifact": { + "type": "object", + "title": "GitArtifact contains information about an artifact stored in git", + "properties": { + "branch": { + "type": "string", + "title": "Branch to use to pull trigger resource\n+optional" + }, + "cloneDirectory": { + "description": "Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers.\nHence we don't use any specific git provider client.", + "type": "string" + }, + "creds": { + "title": "Creds contain reference to git username and password\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GitCreds" + }, + "filePath": { + "type": "string", + "title": "Path to file that contains trigger resource definition" + }, + "insecureIgnoreHostKey": { + "type": "boolean", + "title": "Whether to ignore host key\n+optional" + }, + "ref": { + "type": "string", + "title": "Ref to use to pull trigger resource. Will result in a shallow clone and\nfetch.\n+optional" + }, + "remote": { + "title": "Remote to manage set of tracked repositories. Defaults to \"origin\".\nRefer https://git-scm.com/docs/git-remote\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GitRemoteConfig" + }, + "sshKeySecret": { + "title": "SSHKeySecret refers to the secret that contains SSH key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "tag": { + "type": "string", + "title": "Tag to use to pull trigger resource\n+optional" + }, + "url": { + "type": "string", + "title": "Git URL" + } + } + }, + "io.argoproj.events.v1alpha1.GitCreds": { + "type": "object", + "title": "GitCreds contain reference to git username and password", + "properties": { + "password": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "username": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.GitRemoteConfig": { + "type": "object", + "title": "GitRemoteConfig contains the configuration of a Git remote", + "properties": { + "name": { + "description": "Name of the remote to fetch from.", + "type": "string" + }, + "urls": { + "description": "URLs the URLs of a remote repository. It must be non-empty. Fetch will\nalways use the first URL, while push will use all of them.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.argoproj.events.v1alpha1.GithubAppCreds": { + "type": "object", + "properties": { + "appID": { + "type": "string", + "title": "AppID refers to the GitHub App ID for the application you created" + }, + "installationID": { + "type": "string", + "title": "InstallationID refers to the Installation ID of the GitHub app you created and installed" + }, + "privateKey": { + "title": "PrivateKey refers to a K8s secret containing the GitHub app private key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.GithubEventSource": { + "type": "object", + "title": "GithubEventSource refers to event-source for github related events", + "properties": { + "active": { + "type": "boolean", + "title": "Active refers to status of the webhook for event deliveries.\nhttps://developer.github.com/webhooks/creating/#active\n+optional" + }, + "apiToken": { + "title": "APIToken refers to a K8s secret containing github api token\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "contentType": { + "type": "string", + "title": "ContentType of the event delivery" + }, + "deleteHookOnFinish": { + "type": "boolean", + "title": "DeleteHookOnFinish determines whether to delete the GitHub hook for the repository once the event source is stopped.\n+optional" + }, + "events": { + "type": "array", + "title": "Events refer to Github events to which the event source will subscribe", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "githubApp": { + "title": "GitHubApp holds the GitHub app credentials\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.GithubAppCreds" + }, + "githubBaseURL": { + "type": "string", + "title": "GitHub base URL (for GitHub Enterprise)\n+optional" + }, + "githubUploadURL": { + "type": "string", + "title": "GitHub upload URL (for GitHub Enterprise)\n+optional" + }, + "id": { + "type": "string", + "title": "Id is the webhook's id\nDeprecated: This is not used at all, will be removed in v1.6\n+optional" + }, + "insecure": { + "type": "boolean", + "title": "Insecure tls verification" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "organizations": { + "description": "Organizations holds the names of organizations (used for organization level webhooks). Not required if Repositories is set.", + "type": "array", + "items": { + "type": "string" + } + }, + "owner": { + "type": "string", + "title": "DeprecatedOwner refers to GitHub owner name i.e. argoproj\nDeprecated: use Repositories instead. Will be unsupported in v 1.6\n+optional" + }, + "repositories": { + "description": "Repositories holds the information of repositories, which uses repo owner as the key,\nand list of repo names as the value. Not required if Organizations is set.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.OwnedRepositories" + } + }, + "repository": { + "type": "string", + "title": "DeprecatedRepository refers to GitHub repo name i.e. argo-events\nDeprecated: use Repositories instead. Will be unsupported in v 1.6\n+optional" + }, + "webhook": { + "title": "Webhook refers to the configuration required to run a http server", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + }, + "webhookSecret": { + "title": "WebhookSecret refers to K8s secret containing GitHub webhook secret\nhttps://developer.github.com/webhooks/securing/\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.GitlabEventSource": { + "type": "object", + "title": "GitlabEventSource refers to event-source related to Gitlab events", + "properties": { + "accessToken": { + "title": "AccessToken references to k8 secret which holds the gitlab api access information", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "deleteHookOnFinish": { + "type": "boolean", + "title": "DeleteHookOnFinish determines whether to delete the GitLab hook for the project once the event source is stopped.\n+optional" + }, + "enableSSLVerification": { + "type": "boolean", + "title": "EnableSSLVerification to enable ssl verification\n+optional" + }, + "events": { + "description": "Events are gitlab event to listen to.\nRefer https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794.", + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "gitlabBaseURL": { + "type": "string", + "title": "GitlabBaseURL is the base URL for API requests to a custom endpoint" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "projectID": { + "type": "string", + "title": "DeprecatedProjectID is the id of project for which integration needs to setup\nDeprecated: use Projects instead. Will be unsupported in v 1.7\n+optional" + }, + "projects": { + "type": "array", + "title": "List of project IDs or project namespace paths like \"whynowy/test\"", + "items": { + "type": "string" + } + }, + "secretToken": { + "title": "SecretToken references to k8 secret which holds the Secret Token used by webhook config", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "webhook": { + "title": "Webhook holds configuration to run a http server", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.HDFSEventSource": { + "type": "object", + "title": "HDFSEventSource refers to event-source for HDFS related events", + "properties": { + "addresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "checkInterval": { + "type": "string", + "title": "CheckInterval is a string that describes an interval duration to check the directory state, e.g. 1s, 30m, 2h... (defaults to 1m)" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "hdfsUser": { + "description": "HDFSUser is the user to access HDFS file system.\nIt is ignored if either ccache or keytab is used.", + "type": "string" + }, + "krbCCacheSecret": { + "description": "KrbCCacheSecret is the secret selector for Kerberos ccache\nEither ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbConfigConfigMap": { + "description": "KrbConfig is the configmap selector for Kerberos config as string\nIt must be set if either ccache or keytab is used.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "krbKeytabSecret": { + "description": "KrbKeytabSecret is the secret selector for Kerberos keytab\nEither ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbRealm": { + "description": "KrbRealm is the Kerberos realm used with Kerberos keytab\nIt must be set if keytab is used.", + "type": "string" + }, + "krbServicePrincipalName": { + "description": "KrbServicePrincipalName is the principal name of Kerberos service\nIt must be set if either ccache or keytab is used.", + "type": "string" + }, + "krbUsername": { + "description": "KrbUsername is the Kerberos username used with Kerberos keytab\nIt must be set if keytab is used.", + "type": "string" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "type": "string", + "title": "Type of file operations to watch" + }, + "watchPathConfig": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WatchPathConfig" + } + } + }, + "io.argoproj.events.v1alpha1.HTTPTrigger": { + "type": "object", + "title": "HTTPTrigger is the trigger for the HTTP request", + "properties": { + "basicAuth": { + "title": "BasicAuth configuration for the http request.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BasicAuth" + }, + "headers": { + "type": "object", + "title": "Headers for the HTTP request.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string", + "title": "Method refers to the type of the HTTP request.\nRefer https://golang.org/src/net/http/method.go for more io.argoproj.workflow.v1alpha1.\nDefault value is POST.\n+optional" + }, + "parameters": { + "description": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe HTTP trigger resource.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "secureHeaders": { + "type": "array", + "title": "Secure Headers stored in Kubernetes Secrets for the HTTP requests.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SecureHeader" + } + }, + "timeout": { + "type": "string", + "title": "Timeout refers to the HTTP request timeout in seconds.\nDefault value is 60 seconds.\n+optional" + }, + "tls": { + "title": "TLS configuration for the HTTP client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "url": { + "description": "URL refers to the URL to send HTTP request to.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.Int64OrString": { + "type": "object", + "properties": { + "int64Val": { + "type": "string" + }, + "strVal": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.K8SResourcePolicy": { + "type": "object", + "title": "K8SResourcePolicy refers to the policy used to check the state of K8s based triggers using labels", + "properties": { + "backoff": { + "title": "Backoff before checking resource state", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "errorOnBackoffTimeout": { + "type": "boolean", + "title": "ErrorOnBackoffTimeout determines whether sensor should transition to error state if the trigger policy is unable to determine\nthe state of the resource" + }, + "labels": { + "type": "object", + "title": "Labels required to identify whether a resource is in success state", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.argoproj.events.v1alpha1.KafkaConsumerGroup": { + "type": "object", + "properties": { + "groupName": { + "type": "string", + "title": "The name for the consumer group to use" + }, + "oldest": { + "type": "boolean", + "title": "When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false\n+optional" + }, + "rebalanceStrategy": { + "type": "string", + "title": "Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.KafkaEventSource": { + "type": "object", + "title": "KafkaEventSource refers to event-source for Kafka related events", + "properties": { + "config": { + "description": "Yaml format Sarama config for Kafka connection.\nIt follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go\ne.g.\n\nconsumer:\n fetch:\n min: 1\nnet:\n MaxOpenRequests: 5\n\n+optional", + "type": "string" + }, + "connectionBackoff": { + "description": "Backoff holds parameters applied to connection.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "consumerGroup": { + "title": "Consumer group for kafka client\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.KafkaConsumerGroup" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "limitEventsPerSecond": { + "type": "string", + "title": "Sets a limit on how many events get read from kafka per second.\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "partition": { + "type": "string", + "title": "Partition name" + }, + "sasl": { + "title": "SASL configuration for the kafka client\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SASLConfig" + }, + "tls": { + "title": "TLS configuration for the kafka client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "topic": { + "type": "string", + "title": "Topic name" + }, + "url": { + "type": "string", + "title": "URL to kafka cluster, multiple URLs separated by comma" + }, + "version": { + "type": "string", + "title": "Specify what kafka version is being connected to enables certain features in sarama, defaults to 1.0.0\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.KafkaTrigger": { + "description": "KafkaTrigger refers to the specification of the Kafka trigger.", + "type": "object", + "properties": { + "compress": { + "type": "boolean", + "title": "Compress determines whether to compress message or not.\nDefaults to false.\nIf set to true, compresses message using snappy compression.\n+optional" + }, + "flushFrequency": { + "type": "integer", + "title": "FlushFrequency refers to the frequency in milliseconds to flush batches.\nDefaults to 500 milliseconds.\n+optional" + }, + "parameters": { + "description": "Parameters is the list of parameters that is applied to resolved Kafka trigger object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "partition": { + "description": "Partition to write data to.", + "type": "integer" + }, + "partitioningKey": { + "description": "The partitioning key for the messages put on the Kafka topic.\nDefaults to broker url.\n+optional.", + "type": "string" + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "requiredAcks": { + "description": "RequiredAcks used in producer to tell the broker how many replica acknowledgements\nDefaults to 1 (Only wait for the leader to ack).\n+optional.", + "type": "integer" + }, + "sasl": { + "title": "SASL configuration for the kafka client\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SASLConfig" + }, + "tls": { + "title": "TLS configuration for the Kafka producer.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "topic": { + "type": "string", + "title": "Name of the topic.\nMore info at https://kafka.apache.org/documentation/#intro_topics" + }, + "url": { + "description": "URL of the Kafka broker, multiple URLs separated by comma.", + "type": "string" + }, + "version": { + "type": "string", + "title": "Specify what kafka version is being connected to enables certain features in sarama, defaults to 1.0.0\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.LogTrigger": { + "type": "object", + "properties": { + "intervalSeconds": { + "type": "string", + "format": "uint64", + "title": "Only print messages every interval. Useful to prevent logging too much data for busy events.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.MQTTEventSource": { + "type": "object", + "title": "MQTTEventSource refers to event-source for MQTT related events", + "properties": { + "clientId": { + "type": "string", + "title": "ClientID is the id of the client" + }, + "connectionBackoff": { + "description": "ConnectionBackoff holds backoff applied to connection.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "tls": { + "title": "TLS configuration for the mqtt client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "topic": { + "type": "string", + "title": "Topic name" + }, + "url": { + "type": "string", + "title": "URL to connect to broker" + } + } + }, + "io.argoproj.events.v1alpha1.Metadata": { + "type": "object", + "title": "Metadata holds the annotations and labels of an event source pod", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.argoproj.events.v1alpha1.NATSAuth": { + "type": "object", + "title": "NATSAuth refers to the auth info for NATS EventSource", + "properties": { + "basic": { + "title": "Baisc auth with username and password\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.BasicAuth" + }, + "credential": { + "title": "credential used to connect\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "nkey": { + "title": "NKey used to connect\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "token": { + "title": "Token used to connect\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.NATSEventsSource": { + "type": "object", + "title": "NATSEventsSource refers to event-source for NATS related events", + "properties": { + "auth": { + "title": "Auth information\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.NATSAuth" + }, + "connectionBackoff": { + "description": "ConnectionBackoff holds backoff applied to connection.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "subject": { + "type": "string", + "title": "Subject holds the name of the subject onto which messages are published" + }, + "tls": { + "title": "TLS configuration for the nats client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "url": { + "type": "string", + "title": "URL to connect to NATS cluster" + } + } + }, + "io.argoproj.events.v1alpha1.NATSTrigger": { + "description": "NATSTrigger refers to the specification of the NATS trigger.", + "type": "object", + "properties": { + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "subject": { + "description": "Name of the subject to put message on.", + "type": "string" + }, + "tls": { + "title": "TLS configuration for the NATS producer.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "url": { + "description": "URL of the NATS cluster.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.NSQEventSource": { + "type": "object", + "title": "NSQEventSource describes the event source for NSQ PubSub\nMore info at https://godoc.org/github.com/nsqio/go-nsq", + "properties": { + "channel": { + "type": "string", + "title": "Channel used for subscription" + }, + "connectionBackoff": { + "title": "Backoff holds parameters applied to connection.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "hostAddress": { + "type": "string", + "title": "HostAddress is the address of the host for NSQ lookup" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "tls": { + "title": "TLS configuration for the nsq client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "topic": { + "description": "Topic to subscribe to.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.OpenWhiskTrigger": { + "description": "OpenWhiskTrigger refers to the specification of the OpenWhisk trigger.", + "type": "object", + "properties": { + "actionName": { + "description": "Name of the action/function.", + "type": "string" + }, + "authToken": { + "title": "AuthToken for authentication.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "host": { + "description": "Host URL of the OpenWhisk.", + "type": "string" + }, + "namespace": { + "description": "Namespace for the action.\nDefaults to \"_\".\n+optional.", + "type": "string" + }, + "parameters": { + "type": "array", + "title": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "version": { + "type": "string", + "title": "Version for the API.\nDefaults to v1.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.OwnedRepositories": { + "type": "object", + "properties": { + "names": { + "type": "array", + "title": "Repository names", + "items": { + "type": "string" + } + }, + "owner": { + "type": "string", + "title": "Organization or user name" + } + } + }, + "io.argoproj.events.v1alpha1.PayloadField": { + "description": "PayloadField binds a value at path within the event payload against a name.", + "type": "object", + "properties": { + "name": { + "description": "Name acts as key that holds the value at the path.", + "type": "string" + }, + "path": { + "description": "Path is the JSONPath of the event's (JSON decoded) data key\nPath is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.\nTo access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more information on how to use this.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.PubSubEventSource": { + "description": "PubSubEventSource refers to event-source for GCP PubSub related events.", + "type": "object", + "properties": { + "credentialSecret": { + "title": "CredentialSecret references to the secret that contains JSON credentials to access GCP.\nIf it is missing, it implicitly uses Workload Identity to access.\nhttps://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "deleteSubscriptionOnFinish": { + "type": "boolean", + "title": "DeleteSubscriptionOnFinish determines whether to delete the GCP PubSub subscription once the event source is stopped.\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "projectID": { + "type": "string", + "title": "ProjectID is GCP project ID for the subscription.\nRequired if you run Argo Events outside of GKE/GCE.\n(otherwise, the default value is its project)\n+optional" + }, + "subscriptionID": { + "type": "string", + "title": "SubscriptionID is ID of subscription.\nRequired if you use existing subscription.\nThe default value will be auto generated hash based on this eventsource setting, so the subscription\nmight be recreated every time you update the setting, which has a possibility of event loss.\n+optional" + }, + "topic": { + "type": "string", + "title": "Topic to which the subscription should belongs.\nRequired if you want the eventsource to create a new subscription.\nIf you specify this field along with an existing subscription,\nit will be verified whether it actually belongs to the specified topic.\n+optional" + }, + "topicProjectID": { + "type": "string", + "title": "TopicProjectID is GCP project ID for the topic.\nBy default, it is same as ProjectID.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.PulsarEventSource": { + "type": "object", + "title": "PulsarEventSource describes the event source for Apache Pulsar", + "properties": { + "authTokenSecret": { + "title": "Authentication token for the pulsar client.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "connectionBackoff": { + "title": "Backoff holds parameters applied to connection.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "tls": { + "title": "TLS configuration for the pulsar client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "tlsAllowInsecureConnection": { + "type": "boolean", + "title": "Whether the Pulsar client accept untrusted TLS certificate from broker.\n+optional" + }, + "tlsTrustCertsSecret": { + "title": "Trusted TLS certificate secret.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "tlsValidateHostname": { + "type": "boolean", + "title": "Whether the Pulsar client verify the validity of the host name from broker.\n+optional" + }, + "topics": { + "type": "array", + "title": "Name of the topics to subscribe to.\n+required", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "title": "Type of the subscription.\nOnly \"exclusive\" and \"shared\" is supported.\nDefaults to exclusive.\n+optional" + }, + "url": { + "type": "string", + "title": "Configure the service URL for the Pulsar service.\n+required" + } + } + }, + "io.argoproj.events.v1alpha1.PulsarTrigger": { + "description": "PulsarTrigger refers to the specification of the Pulsar trigger.", + "type": "object", + "properties": { + "authTokenSecret": { + "title": "Authentication token for the pulsar client.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "connectionBackoff": { + "title": "Backoff holds parameters applied to connection.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "parameters": { + "description": "Parameters is the list of parameters that is applied to resolved Kafka trigger object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "payload": { + "description": "Payload is the list of key-value extracted from an event payload to construct the request payload.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "tls": { + "title": "TLS configuration for the pulsar client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "tlsAllowInsecureConnection": { + "type": "boolean", + "title": "Whether the Pulsar client accept untrusted TLS certificate from broker.\n+optional" + }, + "tlsTrustCertsSecret": { + "title": "Trusted TLS certificate secret.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "tlsValidateHostname": { + "type": "boolean", + "title": "Whether the Pulsar client verify the validity of the host name from broker.\n+optional" + }, + "topic": { + "type": "string", + "title": "Name of the topic.\nSee https://pulsar.apache.org/docs/en/concepts-messaging/" + }, + "url": { + "type": "string", + "title": "Configure the service URL for the Pulsar service.\n+required" + } + } + }, + "io.argoproj.events.v1alpha1.RateLimit": { + "type": "object", + "properties": { + "requestsPerUnit": { + "type": "integer" + }, + "unit": { + "type": "string", + "title": "Defaults to Second" + } + } + }, + "io.argoproj.events.v1alpha1.RedisEventSource": { + "type": "object", + "title": "RedisEventSource describes an event source for the Redis PubSub.\nMore info at https://godoc.org/github.com/go-redis/redis#example-PubSub", + "properties": { + "channels": { + "type": "array", + "items": { + "type": "string" + } + }, + "db": { + "type": "integer", + "title": "DB to use. If not specified, default DB 0 will be used.\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "hostAddress": { + "type": "string", + "title": "HostAddress refers to the address of the Redis host/server" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "namespace": { + "type": "string", + "title": "Namespace to use to retrieve the password from. It should only be specified if password is declared\n+optional" + }, + "password": { + "title": "Password required for authentication if any.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "tls": { + "title": "TLS configuration for the redis client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "username": { + "type": "string", + "title": "Username required for ACL style authentication if any.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.RedisStreamEventSource": { + "type": "object", + "title": "RedisStreamEventSource describes an event source for\nRedis streams (https://redis.io/topics/streams-intro)", + "properties": { + "consumerGroup": { + "type": "string", + "title": "ConsumerGroup refers to the Redis stream consumer group that will be\ncreated on all redis streams. Messages are read through this group. Defaults to 'argo-events-cg'\n+optional" + }, + "db": { + "type": "integer", + "title": "DB to use. If not specified, default DB 0 will be used.\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "hostAddress": { + "type": "string", + "title": "HostAddress refers to the address of the Redis host/server (master instance)" + }, + "maxMsgCountPerRead": { + "type": "integer", + "title": "MaxMsgCountPerRead holds the maximum number of messages per stream that will be read in each XREADGROUP of all streams\nExample: if there are 2 streams and MaxMsgCountPerRead=10, then each XREADGROUP may read upto a total of 20 messages.\nSame as COUNT option in XREADGROUP(https://redis.io/topics/streams-intro). Defaults to 10\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "password": { + "title": "Password required for authentication if any.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "streams": { + "description": "Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.", + "type": "array", + "items": { + "type": "string" + } + }, + "tls": { + "title": "TLS configuration for the redis client.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TLSConfig" + }, + "username": { + "type": "string", + "title": "Username required for ACL style authentication if any.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.Resource": { + "description": "Resource represent arbitrary structured data.", + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + } + } + }, + "io.argoproj.events.v1alpha1.ResourceEventSource": { + "description": "ResourceEventSource refers to a event-source for K8s resource related events.", + "type": "object", + "properties": { + "eventTypes": { + "description": "EventTypes is the list of event type to watch.\nPossible values are - ADD, UPDATE and DELETE.", + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "title": "Filter is applied on the metadata of the resource\nIf you apply filter, then the internal event informer will only monitor objects that pass the filter.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ResourceFilter" + }, + "groupVersionResource": { + "title": "Group of the resource", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionResource" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "namespace": { + "type": "string", + "title": "Namespace where resource is deployed" + } + } + }, + "io.argoproj.events.v1alpha1.ResourceFilter": { + "type": "object", + "title": "ResourceFilter contains K8s ObjectMeta information to further filter resource event objects", + "properties": { + "afterStart": { + "type": "boolean", + "title": "If the resource is created after the start time then the event is treated as valid.\n+optional" + }, + "createdBy": { + "title": "If resource is created before the specified time then the event is treated as valid.\n+optional", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "fields": { + "type": "array", + "title": "Fields provide field filters similar to K8s field selector\n(see https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/).\nUnlike K8s field selector, it supports arbitrary fileds like \"spec.serviceAccountName\",\nand the value could be a string or a regex.\nSame as K8s field selector, operator \"=\", \"==\" and \"!=\" are supported.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Selector" + } + }, + "labels": { + "type": "array", + "title": "Labels provide listing options to K8s API to watch resource/s.\nRefer https://kubernetes.io/docs/concepts/overview/working-with-objects/label-selectors/ for more io.argoproj.workflow.v1alpha1.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Selector" + } + }, + "prefix": { + "type": "string", + "title": "Prefix filter is applied on the resource name.\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.S3Artifact": { + "type": "object", + "title": "S3Artifact contains information about an S3 connection and bucket", + "properties": { + "accessKey": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.S3Bucket" + }, + "endpoint": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.S3Filter" + }, + "insecure": { + "type": "boolean" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "region": { + "type": "string" + }, + "secretKey": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.S3Bucket": { + "type": "object", + "title": "S3Bucket contains information to describe an S3 Bucket", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.S3Filter": { + "type": "object", + "title": "S3Filter represents filters to apply to bucket notifications for specifying constraints on objects", + "properties": { + "prefix": { + "type": "string" + }, + "suffix": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.SASLConfig": { + "type": "object", + "title": "SASLConfig refers to SASL configuration for a client", + "properties": { + "mechanism": { + "type": "string", + "title": "SASLMechanism is the name of the enabled SASL mechanism.\nPossible values: OAUTHBEARER, PLAIN (defaults to PLAIN).\n+optional" + }, + "password": { + "title": "Password for SASL/PLAIN authentication", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "user": { + "title": "User is the authentication identity (authcid) to present for\nSASL/PLAIN or SASL/SCRAM authentication", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.SNSEventSource": { + "type": "object", + "title": "SNSEventSource refers to event-source for AWS SNS related events", + "properties": { + "accessKey": { + "title": "AccessKey refers K8s secret containing aws access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "endpoint": { + "type": "string", + "title": "Endpoint configures connection to a specific SNS endpoint instead of Amazons servers\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "region": { + "type": "string", + "title": "Region is AWS region" + }, + "roleARN": { + "type": "string", + "title": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.\n+optional" + }, + "secretKey": { + "title": "SecretKey refers K8s secret containing aws secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "topicArn": { + "type": "string", + "title": "TopicArn" + }, + "validateSignature": { + "type": "boolean", + "title": "ValidateSignature is boolean that can be set to true for SNS signature verification\n+optional" + }, + "webhook": { + "title": "Webhook configuration for http server", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.SQSEventSource": { + "type": "object", + "title": "SQSEventSource refers to event-source for AWS SQS related events", + "properties": { + "accessKey": { + "title": "AccessKey refers K8s secret containing aws access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "dlq": { + "type": "boolean", + "title": "DLQ specifies if a dead-letter queue is configured for messages that can't be processed successfully.\nIf set to true, messages with invalid payload won't be acknowledged to allow to forward them farther to the dead-letter queue.\nThe default value is false.\n+optional" + }, + "endpoint": { + "type": "string", + "title": "Endpoint configures connection to a specific SQS endpoint instead of Amazons servers\n+optional" + }, + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "jsonBody": { + "type": "boolean", + "title": "JSONBody specifies that all event body payload coming from this\nsource will be JSON\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "queue": { + "type": "string", + "title": "Queue is AWS SQS queue to listen to for messages" + }, + "queueAccountId": { + "type": "string", + "title": "QueueAccountID is the ID of the account that created the queue to monitor\n+optional" + }, + "region": { + "type": "string", + "title": "Region is AWS region" + }, + "roleARN": { + "type": "string", + "title": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.\n+optional" + }, + "secretKey": { + "title": "SecretKey refers K8s secret containing aws secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "sessionToken": { + "title": "SessionToken refers to K8s secret containing AWS temporary credentials(STS) session token\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "waitTimeSeconds": { + "description": "WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive\nin the queue before returning.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.SecureHeader": { + "type": "object", + "title": "SecureHeader refers to HTTP Headers with auth tokens as values", + "properties": { + "name": { + "type": "string" + }, + "valueFrom": { + "title": "Values can be read from either secrets or configmaps", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ValueFromSource" + } + } + }, + "io.argoproj.events.v1alpha1.Selector": { + "description": "Selector represents conditional operation to select K8s objects.", + "type": "object", + "properties": { + "key": { + "type": "string", + "title": "Key name" + }, + "operation": { + "type": "string", + "title": "Supported operations like ==, !=, \u003c=, \u003e= etc.\nDefaults to ==.\nRefer https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors for more io.argoproj.workflow.v1alpha1.\n+optional" + }, + "value": { + "type": "string", + "title": "Value" + } + } + }, + "io.argoproj.events.v1alpha1.Sensor": { + "type": "object", + "title": "Sensor is the definition of a sensor resource\n+genclient\n+genclient:noStatus\n+kubebuilder:resource:shortName=sn\n+kubebuilder:subresource:status\n+k8s:deepcopy-gen:interfaces=io.k8s.apimachinery/pkg/runtime.Object\n+k8s:openapi-gen=true", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SensorSpec" + }, + "status": { + "title": "+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SensorStatus" + } + } + }, + "io.argoproj.events.v1alpha1.SensorList": { + "type": "object", + "title": "SensorList is the list of Sensor resources\n+k8s:deepcopy-gen:interfaces=io.k8s.apimachinery/pkg/runtime.Object", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.events.v1alpha1.SensorSpec": { + "type": "object", + "title": "SensorSpec represents desired sensor state", + "properties": { + "dependencies": { + "description": "Dependencies is a list of the events that this sensor is dependent on.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventDependency" + } + }, + "errorOnFailedRound": { + "description": "ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails.\nOnce sensor state is set to `error`, no further triggers will be processed.", + "type": "boolean" + }, + "eventBusName": { + "type": "string", + "title": "EventBusName references to a EventBus name. By default the value is \"default\"" + }, + "replicas": { + "type": "integer", + "title": "Replicas is the sensor deployment replicas" + }, + "template": { + "title": "Template is the pod specification for the sensor\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Template" + }, + "triggers": { + "description": "Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Trigger" + } + } + } + }, + "io.argoproj.events.v1alpha1.SensorStatus": { + "description": "SensorStatus contains information about the status of a sensor.", + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Status" + } + } + }, + "io.argoproj.events.v1alpha1.Service": { + "type": "object", + "title": "Service holds the service information eventsource exposes", + "properties": { + "clusterIP": { + "type": "string", + "title": "clusterIP is the IP address of the service and is usually assigned\nrandomly by the master. If an address is specified manually and is not in\nuse by others, it will be allocated to the service; otherwise, creation\nof the service will fail. This field can not be changed through updates.\nValid values are \"None\", empty string (\"\"), or a valid IP address. \"None\"\ncan be specified for headless services when proxying is not required.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n+optional" + }, + "ports": { + "type": "array", + "title": "The list of ports that are exposed by this ClusterIP service.\n+patchMergeKey=port\n+patchStrategy=merge\n+listType=map\n+listMapKey=port\n+listMapKey=protocol", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServicePort" + } + } + } + }, + "io.argoproj.events.v1alpha1.SlackEventSource": { + "type": "object", + "title": "SlackEventSource refers to event-source for Slack related events", + "properties": { + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "signingSecret": { + "title": "Slack App signing secret", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "token": { + "title": "Token for URL verification handshake", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "webhook": { + "title": "Webhook holds configuration for a REST endpoint", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.SlackTrigger": { + "description": "SlackTrigger refers to the specification of the slack notification trigger.", + "type": "object", + "properties": { + "channel": { + "type": "string", + "title": "Channel refers to which Slack channel to send slack message.\n+optional" + }, + "message": { + "type": "string", + "title": "Message refers to the message to send to the Slack channel.\n+optional" + }, + "parameters": { + "type": "array", + "title": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "slackToken": { + "description": "SlackToken refers to the Kubernetes secret that holds the slack token required to send messages.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.StandardK8STrigger": { + "type": "object", + "title": "StandardK8STrigger is the standard Kubernetes resource trigger", + "properties": { + "liveObject": { + "type": "boolean", + "title": "LiveObject specifies whether the resource should be directly fetched from K8s instead\nof being marshaled from the resource artifact. If set to true, the resource artifact\nmust contain the information required to uniquely identify the resource in the cluster,\nthat is, you must specify \"apiVersion\", \"kind\" as well as \"name\" and \"namespace\" meta\ndata.\nOnly valid for operation type `update`\n+optional" + }, + "operation": { + "type": "string", + "title": "Operation refers to the type of operation performed on the k8s resource.\nDefault value is Create.\n+optional" + }, + "parameters": { + "description": "Parameters is the list of parameters that is applied to resolved K8s trigger object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "patchStrategy": { + "type": "string", + "title": "PatchStrategy controls the K8s object patching strategy when the trigger operation is specified as patch.\npossible values:\n\"application/json-patch+json\"\n\"application/merge-patch+json\"\n\"application/strategic-merge-patch+json\"\n\"application/apply-patch+yaml\".\nDefaults to \"application/merge-patch+json\"\n+optional" + }, + "source": { + "title": "Source of the K8s resource file(s)", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ArtifactLocation" + } + } + }, + "io.argoproj.events.v1alpha1.Status": { + "description": "Status is a common structure which can be used for Status field.", + "type": "object", + "properties": { + "conditions": { + "type": "array", + "title": "Conditions are the latest available observations of a resource's current state.\n+optional\n+patchMergeKey=type\n+patchStrategy=merge", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Condition" + } + } + } + }, + "io.argoproj.events.v1alpha1.StatusPolicy": { + "type": "object", + "title": "StatusPolicy refers to the policy used to check the state of the trigger using response status", + "properties": { + "allow": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + } + }, + "io.argoproj.events.v1alpha1.StorageGridEventSource": { + "type": "object", + "title": "StorageGridEventSource refers to event-source for StorageGrid related events", + "properties": { + "apiURL": { + "description": "APIURL is the url of the storagegrid api.", + "type": "string" + }, + "authToken": { + "title": "Auth token for storagegrid api", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "description": "Name of the bucket to register notifications for.", + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "description": "Filter on object key which caused the notification.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.StorageGridFilter" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "region": { + "type": "string", + "title": "S3 region.\nDefaults to us-east-1\n+optional" + }, + "topicArn": { + "type": "string", + "title": "TopicArn" + }, + "webhook": { + "title": "Webhook holds configuration for a REST endpoint", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.StorageGridFilter": { + "type": "object", + "title": "StorageGridFilter represents filters to apply to bucket notifications for specifying constraints on objects\n+k8s:openapi-gen=true", + "properties": { + "prefix": { + "type": "string" + }, + "suffix": { + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.StripeEventSource": { + "type": "object", + "title": "StripeEventSource describes the event source for stripe webhook notifications\nMore info at https://stripe.com/docs/webhooks", + "properties": { + "apiKey": { + "title": "APIKey refers to K8s secret that holds Stripe API key. Used only if CreateWebhook is enabled.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "createWebhook": { + "type": "boolean", + "title": "CreateWebhook if specified creates a new webhook programmatically.\n+optional" + }, + "eventFilter": { + "type": "array", + "title": "EventFilter describes the type of events to listen to. If not specified, all types of events will be processed.\nMore info at https://stripe.com/docs/api/events/list\n+optional", + "items": { + "type": "string" + } + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "webhook": { + "title": "Webhook holds configuration for a REST endpoint", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.events.v1alpha1.TLSConfig": { + "description": "TLSConfig refers to TLS configuration for a client.", + "type": "object", + "properties": { + "caCertSecret": { + "title": "CACertSecret refers to the secret that contains the CA cert", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "clientCertSecret": { + "title": "ClientCertSecret refers to the secret that contains the client cert", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "clientKeySecret": { + "title": "ClientKeySecret refers to the secret that contains the client key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "insecureSkipVerify": { + "type": "boolean", + "title": "If true, skips creation of TLSConfig with certs and creates an empty TLSConfig. (Defaults to false)\n+optional" + } + } + }, + "io.argoproj.events.v1alpha1.Template": { + "type": "object", + "title": "Template holds the information of a sensor deployment template", + "properties": { + "affinity": { + "title": "If specified, the pod's scheduling constraints\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "container": { + "title": "Container is the main container image to run in the sensor pod\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.Container" + }, + "imagePullSecrets": { + "type": "array", + "title": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.\nIf specified, these secrets will be passed to individual puller implementations for them to use. For example,\nin the case of docker, only DockerConfig type secrets are honored.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod\n+optional\n+patchMergeKey=name\n+patchStrategy=merge", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + } + }, + "metadata": { + "title": "Metadata sets the pods's metadata, i.e. annotations and labels", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Metadata" + }, + "nodeSelector": { + "type": "object", + "title": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "priority": { + "type": "integer", + "title": "The priority value. Various system components use this field to find the\npriority of the EventSource pod. When Priority Admission Controller is enabled,\nit prevents users from setting this field. The admission controller populates\nthis field from PriorityClassName.\nThe higher the value, the higher the priority.\nMore info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional" + }, + "priorityClassName": { + "type": "string", + "title": "If specified, indicates the EventSource pod's priority. \"system-node-critical\"\nand \"system-cluster-critical\" are two special keywords which indicate the\nhighest priorities with the former being the highest priority. Any other\nname must be defined by creating a PriorityClass object with that name.\nIf not specified, the pod priority will be default or zero if there is no\ndefault.\nMore info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional" + }, + "securityContext": { + "title": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field.\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "serviceAccountName": { + "type": "string", + "title": "ServiceAccountName is the name of the ServiceAccount to use to run sensor pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\n+optional" + }, + "tolerations": { + "type": "array", + "title": "If specified, the pod's tolerations.\n+optional", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + } + }, + "volumes": { + "type": "array", + "title": "Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1.\n+patchStrategy=merge\n+patchMergeKey=name\n+optional", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + } + } + } + }, + "io.argoproj.events.v1alpha1.TimeFilter": { + "description": "TimeFilter describes a window in time.\nIt filters out events that occur outside the time limits.\nIn other words, only events that occur after Start and before Stop\nwill pass this filter.", + "type": "object", + "properties": { + "start": { + "description": "Start is the beginning of a time window in UTC.\nBefore this time, events for this dependency are ignored.\nFormat is hh:mm:ss.", + "type": "string" + }, + "stop": { + "description": "Stop is the end of a time window in UTC.\nAfter or equal to this time, events for this dependency are ignored and\nFormat is hh:mm:ss.\nIf it is smaller than Start, it is treated as next day of Start\n(e.g.: 22:00:00-01:00:00 means 22:00:00-25:00:00).", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.Trigger": { + "type": "object", + "title": "Trigger is an action taken, output produced, an event created, a message sent", + "properties": { + "parameters": { + "type": "array", + "title": "Parameters is the list of parameters applied to the trigger template definition", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameter" + } + }, + "policy": { + "title": "Policy to configure backoff and execution criteria for the trigger\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerPolicy" + }, + "rateLimit": { + "title": "Rate limit, default unit is Second\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.RateLimit" + }, + "retryStrategy": { + "title": "Retry strategy, defaults to no retry\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Backoff" + }, + "template": { + "description": "Template describes the trigger specification.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerTemplate" + } + } + }, + "io.argoproj.events.v1alpha1.TriggerParameter": { + "type": "object", + "title": "TriggerParameter indicates a passed parameter to a service template", + "properties": { + "dest": { + "description": "Dest is the JSONPath of a resource key.\nA path is a series of keys separated by a dot. The colon character can be escaped with '.'\nThe -1 key can be used to append a value to an existing array.\nSee https://github.com/tidwall/sjson#path-syntax for more information about how this is used.", + "type": "string" + }, + "operation": { + "description": "Operation is what to do with the existing value at Dest, whether to\n'prepend', 'overwrite', or 'append' it.", + "type": "string" + }, + "src": { + "title": "Src contains a source reference to the value of the parameter from a dependency", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.TriggerParameterSource" + } + } + }, + "io.argoproj.events.v1alpha1.TriggerParameterSource": { + "type": "object", + "title": "TriggerParameterSource defines the source for a parameter from a event event", + "properties": { + "contextKey": { + "description": "ContextKey is the JSONPath of the event's (JSON decoded) context key\nContextKey is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.\nTo access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more information on how to use this.", + "type": "string" + }, + "contextTemplate": { + "type": "string", + "title": "ContextTemplate is a go-template for extracting a string from the event's context.\nIf a ContextTemplate is provided with a ContextKey, the template will be evaluated first and fallback to the ContextKey.\nThe templating follows the standard go-template syntax as well as sprig's extra functions.\nSee https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/" + }, + "dataKey": { + "description": "DataKey is the JSONPath of the event's (JSON decoded) data key\nDataKey is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.\nTo access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more information on how to use this.", + "type": "string" + }, + "dataTemplate": { + "type": "string", + "title": "DataTemplate is a go-template for extracting a string from the event's data.\nIf a DataTemplate is provided with a DataKey, the template will be evaluated first and fallback to the DataKey.\nThe templating follows the standard go-template syntax as well as sprig's extra functions.\nSee https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/" + }, + "dependencyName": { + "description": "DependencyName refers to the name of the dependency. The event which is stored for this dependency is used as payload\nfor the parameterization. Make sure to refer to one of the dependencies you have defined under Dependencies list.", + "type": "string" + }, + "value": { + "description": "Value is the default literal value to use for this parameter source\nThis is only used if the DataKey is invalid.\nIf the DataKey is invalid and this is not defined, this param source will produce an error.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.TriggerPolicy": { + "type": "object", + "title": "TriggerPolicy dictates the policy for the trigger retries", + "properties": { + "k8s": { + "title": "K8SResourcePolicy refers to the policy used to check the state of K8s based triggers using using labels", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.K8SResourcePolicy" + }, + "status": { + "title": "Status refers to the policy used to check the state of the trigger using response status", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.StatusPolicy" + } + } + }, + "io.argoproj.events.v1alpha1.TriggerTemplate": { + "description": "TriggerTemplate is the template that describes trigger specification.", + "type": "object", + "properties": { + "argoWorkflow": { + "title": "ArgoWorkflow refers to the trigger that can perform various operations on an Argo io.argoproj.workflow.v1alpha1.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ArgoWorkflowTrigger" + }, + "awsLambda": { + "title": "AWSLambda refers to the trigger designed to invoke AWS Lambda function with with on-the-fly constructable payload.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AWSLambdaTrigger" + }, + "azureEventHubs": { + "title": "AzureEventHubs refers to the trigger send an event to an Azure Event Hub.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.AzureEventHubsTrigger" + }, + "conditions": { + "type": "string", + "title": "Conditions is the conditions to execute the trigger.\nFor example: \"(dep01 || dep02) \u0026\u0026 dep04\"\n+optional" + }, + "conditionsReset": { + "type": "array", + "title": "Criteria to reset the conditons\n+optional", + "items": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.ConditionsResetCriteria" + } + }, + "custom": { + "title": "CustomTrigger refers to the trigger designed to connect to a gRPC trigger server and execute a custom trigger.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.CustomTrigger" + }, + "http": { + "title": "HTTP refers to the trigger designed to dispatch a HTTP request with on-the-fly constructable payload.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.HTTPTrigger" + }, + "k8s": { + "title": "StandardK8STrigger refers to the trigger designed to create or update a generic Kubernetes resource.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.StandardK8STrigger" + }, + "kafka": { + "description": "Kafka refers to the trigger designed to place messages on Kafka topic.\n+optional.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.KafkaTrigger" + }, + "log": { + "title": "Log refers to the trigger designed to invoke log the io.argoproj.workflow.v1alpha1.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.LogTrigger" + }, + "name": { + "description": "Name is a unique name of the action to take.", + "type": "string" + }, + "nats": { + "description": "NATS refers to the trigger designed to place message on NATS subject.\n+optional.", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.NATSTrigger" + }, + "openWhisk": { + "title": "OpenWhisk refers to the trigger designed to invoke OpenWhisk action.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.OpenWhiskTrigger" + }, + "pulsar": { + "title": "Pulsar refers to the trigger designed to place messages on Pulsar topic.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.PulsarTrigger" + }, + "slack": { + "title": "Slack refers to the trigger designed to send slack notification message.\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.SlackTrigger" + } + } + }, + "io.argoproj.events.v1alpha1.URLArtifact": { + "description": "URLArtifact contains information about an artifact at an http endpoint.", + "type": "object", + "properties": { + "path": { + "type": "string", + "title": "Path is the complete URL" + }, + "verifyCert": { + "type": "boolean", + "title": "VerifyCert decides whether the connection is secure or not" + } + } + }, + "io.argoproj.events.v1alpha1.ValueFromSource": { + "type": "object", + "title": "ValueFromSource allows you to reference keys from either a Configmap or Secret", + "properties": { + "configMapKeyRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "secretKeyRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.events.v1alpha1.WatchPathConfig": { + "type": "object", + "properties": { + "directory": { + "type": "string", + "title": "Directory to watch for events" + }, + "path": { + "type": "string", + "title": "Path is relative path of object to watch with respect to the directory" + }, + "pathRegexp": { + "type": "string", + "title": "PathRegexp is regexp of relative path of object to watch with respect to the directory" + } + } + }, + "io.argoproj.events.v1alpha1.WebhookContext": { + "type": "object", + "title": "WebhookContext holds a general purpose REST API context", + "properties": { + "authSecret": { + "title": "AuthSecret holds a secret selector that contains a bearer token for authentication\n+optional", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "endpoint": { + "type": "string", + "title": "REST API endpoint" + }, + "maxPayloadSize": { + "type": "string", + "title": "MaxPayloadSize is the maximum webhook payload size that the server will accept.\nRequests exceeding that limit will be rejected with \"request too large\" response.\nDefault value: 1048576 (1MB).\n+optional" + }, + "metadata": { + "type": "object", + "title": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string", + "title": "Method is HTTP request method that indicates the desired action to be performed for a given resource.\nSee RFC7231 Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content" + }, + "port": { + "description": "Port on which HTTP server is listening for incoming events.", + "type": "string" + }, + "serverCertSecret": { + "description": "ServerCertPath refers the file that contains the cert.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "serverKeySecret": { + "title": "ServerKeyPath refers the file that contains private key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "url": { + "description": "URL is the url of the server.", + "type": "string" + } + } + }, + "io.argoproj.events.v1alpha1.WebhookEventSource": { + "type": "object", + "title": "CalendarEventSource describes an HTTP based EventSource", + "properties": { + "filter": { + "title": "Filter\n+optional", + "$ref": "#/definitions/io.argoproj.events.v1alpha1.EventSourceFilter" + }, + "webhookContext": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.WebhookContext" + } + } + }, + "io.argoproj.workflow.v1alpha1.Amount": { + "description": "Amount represent a numeric amount.", + "type": "number" + }, + "io.argoproj.workflow.v1alpha1.ArchiveStrategy": { + "description": "ArchiveStrategy describes how to archive files/directory when saving artifacts", + "type": "object", + "properties": { + "none": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NoneStrategy" + }, + "tar": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TarStrategy" + }, + "zip": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ZipStrategy" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArchivedWorkflowDeletedResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.Arguments": { + "description": "Arguments to a template", + "type": "object", + "properties": { + "artifacts": { + "description": "Artifacts is the list of artifacts to pass to the template or workflow", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "parameters": { + "description": "Parameters is the list of parameters to pass to the template or workflow", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtGCStatus": { + "description": "ArtGCStatus maintains state related to ArtifactGC", + "type": "object", + "properties": { + "notSpecified": { + "description": "if this is true, we already checked to see if we need to do it and we don't", + "type": "boolean" + }, + "podsRecouped": { + "description": "have completed Pods been processed? (mapped by Pod name) used to prevent re-processing the Status of a Pod more than once", + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "strategiesProcessed": { + "description": "have Pods been started to perform this strategy? (enables us not to re-process what we've already done)", + "type": "object", + "additionalProperties": { + "type": "boolean" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.Artifact": { + "description": "Artifact indicates an artifact to place at a specified path", + "type": "object", + "required": [ + "name" + ], + "properties": { + "archive": { + "description": "Archive controls how the artifact will be saved to the artifact repository.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArchiveStrategy" + }, + "archiveLogs": { + "description": "ArchiveLogs indicates if the container logs should be archived", + "type": "boolean" + }, + "artifactGC": { + "description": "ArtifactGC describes the strategy to use when to deleting an artifact from completed or deleted workflows", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactGC" + }, + "artifactory": { + "description": "Artifactory contains artifactory artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryArtifact" + }, + "azure": { + "description": "Azure contains Azure Storage artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.AzureArtifact" + }, + "deleted": { + "description": "Has this been deleted?", + "type": "boolean" + }, + "from": { + "description": "From allows an artifact to reference an artifact from a previous step", + "type": "string" + }, + "fromExpression": { + "description": "FromExpression, if defined, is evaluated to specify the value for the artifact", + "type": "string" + }, + "gcs": { + "description": "GCS contains GCS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GCSArtifact" + }, + "git": { + "description": "Git contains git artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GitArtifact" + }, + "globalName": { + "description": "GlobalName exports an output artifact to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts", + "type": "string" + }, + "hdfs": { + "description": "HDFS contains HDFS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSArtifact" + }, + "http": { + "description": "HTTP contains HTTP artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPArtifact" + }, + "mode": { + "description": "mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts.", + "type": "integer" + }, + "name": { + "description": "name of the artifact. must be unique within a template's inputs/outputs.", + "type": "string" + }, + "optional": { + "description": "Make Artifacts optional, if Artifacts doesn't generate or exist", + "type": "boolean" + }, + "oss": { + "description": "OSS contains OSS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSArtifact" + }, + "path": { + "description": "Path is the container path to the artifact", + "type": "string" + }, + "raw": { + "description": "Raw contains raw artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RawArtifact" + }, + "recurseMode": { + "description": "If mode is set, apply the permission recursively into the artifact if it is a folder", + "type": "boolean" + }, + "s3": { + "description": "S3 contains S3 artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3Artifact" + }, + "subPath": { + "description": "SubPath allows an artifact to be sourced from a subpath within the specified source", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactGC": { + "description": "ArtifactGC describes how to delete artifacts from completed Workflows - this is embedded into the WorkflowLevelArtifactGC, and also used for individual Artifacts to override that as needed", + "type": "object", + "properties": { + "podMetadata": { + "description": "PodMetadata is an optional field for specifying the Labels and Annotations that should be assigned to the Pod doing the deletion", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metadata" + }, + "serviceAccountName": { + "description": "ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion", + "type": "string" + }, + "strategy": { + "description": "Strategy is the strategy to use.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactGCSpec": { + "description": "ArtifactGCSpec specifies the Artifacts that need to be deleted", + "type": "object", + "properties": { + "artifactsByNode": { + "description": "ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactNodeSpec" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactGCStatus": { + "description": "ArtifactGCStatus describes the result of the deletion", + "type": "object", + "properties": { + "artifactResultsByNode": { + "description": "ArtifactResultsByNode maps Node name to result", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactLocation": { + "description": "ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files.", + "type": "object", + "properties": { + "archiveLogs": { + "description": "ArchiveLogs indicates if the container logs should be archived", + "type": "boolean" + }, + "artifactory": { + "description": "Artifactory contains artifactory artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryArtifact" + }, + "azure": { + "description": "Azure contains Azure Storage artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.AzureArtifact" + }, + "gcs": { + "description": "GCS contains GCS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GCSArtifact" + }, + "git": { + "description": "Git contains git artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GitArtifact" + }, + "hdfs": { + "description": "HDFS contains HDFS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSArtifact" + }, + "http": { + "description": "HTTP contains HTTP artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPArtifact" + }, + "oss": { + "description": "OSS contains OSS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSArtifact" + }, + "raw": { + "description": "Raw contains raw artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RawArtifact" + }, + "s3": { + "description": "S3 contains S3 artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3Artifact" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactNodeSpec": { + "description": "ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node", + "type": "object", + "properties": { + "archiveLocation": { + "description": "ArchiveLocation is the template-level Artifact location specification", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation" + }, + "artifacts": { + "description": "Artifacts maps artifact name to Artifact description", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactPaths": { + "description": "ArtifactPaths expands a step from a collection of artifacts", + "type": "object", + "required": [ + "name" + ], + "properties": { + "archive": { + "description": "Archive controls how the artifact will be saved to the artifact repository.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArchiveStrategy" + }, + "archiveLogs": { + "description": "ArchiveLogs indicates if the container logs should be archived", + "type": "boolean" + }, + "artifactGC": { + "description": "ArtifactGC describes the strategy to use when to deleting an artifact from completed or deleted workflows", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactGC" + }, + "artifactory": { + "description": "Artifactory contains artifactory artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryArtifact" + }, + "azure": { + "description": "Azure contains Azure Storage artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.AzureArtifact" + }, + "deleted": { + "description": "Has this been deleted?", + "type": "boolean" + }, + "from": { + "description": "From allows an artifact to reference an artifact from a previous step", + "type": "string" + }, + "fromExpression": { + "description": "FromExpression, if defined, is evaluated to specify the value for the artifact", + "type": "string" + }, + "gcs": { + "description": "GCS contains GCS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GCSArtifact" + }, + "git": { + "description": "Git contains git artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GitArtifact" + }, + "globalName": { + "description": "GlobalName exports an output artifact to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts", + "type": "string" + }, + "hdfs": { + "description": "HDFS contains HDFS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSArtifact" + }, + "http": { + "description": "HTTP contains HTTP artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPArtifact" + }, + "mode": { + "description": "mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts.", + "type": "integer" + }, + "name": { + "description": "name of the artifact. must be unique within a template's inputs/outputs.", + "type": "string" + }, + "optional": { + "description": "Make Artifacts optional, if Artifacts doesn't generate or exist", + "type": "boolean" + }, + "oss": { + "description": "OSS contains OSS artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSArtifact" + }, + "path": { + "description": "Path is the container path to the artifact", + "type": "string" + }, + "raw": { + "description": "Raw contains raw artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RawArtifact" + }, + "recurseMode": { + "description": "If mode is set, apply the permission recursively into the artifact if it is a folder", + "type": "boolean" + }, + "s3": { + "description": "S3 contains S3 artifact location details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3Artifact" + }, + "subPath": { + "description": "SubPath allows an artifact to be sourced from a subpath within the specified source", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactRepository": { + "description": "ArtifactRepository represents an artifact repository in which a controller will store its artifacts", + "type": "object", + "properties": { + "archiveLogs": { + "description": "ArchiveLogs enables log archiving", + "type": "boolean" + }, + "artifactory": { + "description": "Artifactory stores artifacts to JFrog Artifactory", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactoryArtifactRepository" + }, + "azure": { + "description": "Azure stores artifact in an Azure Storage account", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.AzureArtifactRepository" + }, + "gcs": { + "description": "GCS stores artifact in a GCS object store", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.GCSArtifactRepository" + }, + "hdfs": { + "description": "HDFS stores artifacts in HDFS", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HDFSArtifactRepository" + }, + "oss": { + "description": "OSS stores artifact in a OSS-compliant object store", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSArtifactRepository" + }, + "s3": { + "description": "S3 stores artifact in a S3-compliant object store", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3ArtifactRepository" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactRepositoryRef": { + "type": "object", + "properties": { + "configMap": { + "description": "The name of the config map. Defaults to \"artifact-repositories\".", + "type": "string" + }, + "key": { + "description": "The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactRepositoryRefStatus": { + "type": "object", + "properties": { + "artifactRepository": { + "description": "The repository the workflow will use. This maybe empty before v3.1.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactRepository" + }, + "configMap": { + "description": "The name of the config map. Defaults to \"artifact-repositories\".", + "type": "string" + }, + "default": { + "description": "If this ref represents the default artifact repository, rather than a config map.", + "type": "boolean" + }, + "key": { + "description": "The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation.", + "type": "string" + }, + "namespace": { + "description": "The namespace of the config map. Defaults to the workflow's namespace, or the controller's namespace (if found).", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactResult": { + "description": "ArtifactResult describes the result of attempting to delete a given Artifact", + "type": "object", + "required": [ + "name" + ], + "properties": { + "error": { + "description": "Error is an optional error message which should be set if Success==false", + "type": "string" + }, + "name": { + "description": "Name is the name of the Artifact", + "type": "string" + }, + "success": { + "description": "Success describes whether the deletion succeeded", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus": { + "description": "ArtifactResultNodeStatus describes the result of the deletion on a given node", + "type": "object", + "properties": { + "artifactResults": { + "description": "ArtifactResults maps Artifact name to result of the deletion", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResult" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactoryArtifact": { + "description": "ArtifactoryArtifact is the location of an artifactory artifact", + "type": "object", + "required": [ + "url" + ], + "properties": { + "passwordSecret": { + "description": "PasswordSecret is the secret selector to the repository password", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "url": { + "description": "URL of the artifact", + "type": "string" + }, + "usernameSecret": { + "description": "UsernameSecret is the secret selector to the repository username", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.ArtifactoryArtifactRepository": { + "description": "ArtifactoryArtifactRepository defines the controller configuration for an artifactory artifact repository", + "type": "object", + "properties": { + "passwordSecret": { + "description": "PasswordSecret is the secret selector to the repository password", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "repoURL": { + "description": "RepoURL is the url for artifactory repo.", + "type": "string" + }, + "usernameSecret": { + "description": "UsernameSecret is the secret selector to the repository username", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.AzureArtifact": { + "description": "AzureArtifact is the location of a an Azure Storage artifact", + "type": "object", + "required": [ + "endpoint", + "container", + "blob" + ], + "properties": { + "accountKeySecret": { + "description": "AccountKeySecret is the secret selector to the Azure Blob Storage account access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "blob": { + "description": "Blob is the blob name (i.e., path) in the container where the artifact resides", + "type": "string" + }, + "container": { + "description": "Container is the container where resources will be stored", + "type": "string" + }, + "endpoint": { + "description": "Endpoint is the service url associated with an account. It is most likely \"https://\u003cACCOUNT_NAME\u003e.blob.core.windows.net\"", + "type": "string" + }, + "useSDKCreds": { + "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.AzureArtifactRepository": { + "description": "AzureArtifactRepository defines the controller configuration for an Azure Blob Storage artifact repository", + "type": "object", + "required": [ + "endpoint", + "container" + ], + "properties": { + "accountKeySecret": { + "description": "AccountKeySecret is the secret selector to the Azure Blob Storage account access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "blobNameFormat": { + "description": "BlobNameFormat is defines the format of how to store blob names. Can reference workflow variables", + "type": "string" + }, + "container": { + "description": "Container is the container where resources will be stored", + "type": "string" + }, + "endpoint": { + "description": "Endpoint is the service url associated with an account. It is most likely \"https://\u003cACCOUNT_NAME\u003e.blob.core.windows.net\"", + "type": "string" + }, + "useSDKCreds": { + "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.Backoff": { + "description": "Backoff is a backoff strategy to use within retryStrategy", + "type": "object", + "properties": { + "duration": { + "description": "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")", + "type": "string" + }, + "factor": { + "description": "Factor is a factor to multiply the base duration after each failed retry", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "maxDuration": { + "description": "MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.BasicAuth": { + "description": "BasicAuth describes the secret selectors required for basic authentication", + "type": "object", + "properties": { + "passwordSecret": { + "description": "PasswordSecret is the secret selector to the repository password", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "usernameSecret": { + "description": "UsernameSecret is the secret selector to the repository username", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.Cache": { + "description": "Cache is the configuration for the type of cache to be used", + "type": "object", + "required": [ + "configMap" + ], + "properties": { + "configMap": { + "description": "ConfigMap sets a ConfigMap-based cache", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClientCertAuth": { + "description": "ClientCertAuth holds necessary information for client authentication via certificates", + "type": "object", + "properties": { + "clientCertSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "clientKeySecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate": { + "description": "ClusterWorkflowTemplate is the definition of a workflow template resource in cluster scope", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateCreateRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateDeleteResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateLintRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateList": { + "description": "ClusterWorkflowTemplateList is list of ClusterWorkflowTemplate resources", + "type": "object", + "required": [ + "metadata", + "items" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplateUpdateRequest": { + "type": "object", + "properties": { + "name": { + "description": "DEPRECATED: This field is ignored.", + "type": "string" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClusterWorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.CollectEventRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.CollectEventResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.Column": { + "description": "Column is a custom column that will be exposed in the Workflow List View.", + "type": "object", + "required": [ + "name", + "type", + "key" + ], + "properties": { + "key": { + "description": "The key of the label or annotation, e.g., \"workflows.argoproj.io/completed\".", + "type": "string" + }, + "name": { + "description": "The name of this column, e.g., \"Workflow Completed\".", + "type": "string" + }, + "type": { + "description": "The type of this column, \"label\" or \"annotation\".", + "type": "string" + } + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "io.argoproj.workflow.v1alpha1.Condition": { + "type": "object", + "properties": { + "message": { + "description": "Message is the condition message", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition", + "type": "string" + }, + "type": { + "description": "Type is the type of condition", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ContainerNode": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "dependencies": { + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + } + }, + "image": { + "description": "Container 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.", + "type": "string" + }, + "imagePullPolicy": { + "description": "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", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "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.", + "type": "boolean" + }, + "stdinOnce": { + "description": "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", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "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.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "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.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "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.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ContainerSetRetryStrategy": { + "type": "object", + "required": [ + "retries" + ], + "properties": { + "duration": { + "description": "Duration is the time between each retry, examples values are \"300ms\", \"1s\" or \"5m\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".", + "type": "string" + }, + "retries": { + "description": "Nbr of retries", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.argoproj.workflow.v1alpha1.ContainerSetTemplate": { + "type": "object", + "required": [ + "containers" + ], + "properties": { + "containers": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContainerNode" + } + }, + "retryStrategy": { + "description": "RetryStrategy describes how to retry a container nodes in the container set if it fails. Nbr of retries(default 0) and sleep duration between retries(default 0s, instant retry) can be set.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContainerSetRetryStrategy" + }, + "volumeMounts": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.ContinueOn": { + "description": "ContinueOn defines if a workflow should continue even if a task or step fails/errors. It can be specified if the workflow should continue when the pod errors, fails or both.", + "type": "object", + "properties": { + "error": { + "type": "boolean" + }, + "failed": { + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.Counter": { + "description": "Counter is a Counter prometheus metric", + "type": "object", + "required": [ + "value" + ], + "properties": { + "value": { + "description": "Value is the value of the metric", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.CreateCronWorkflowRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "cronWorkflow": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.CreateS3BucketOptions": { + "description": "CreateS3BucketOptions options used to determine automatic automatic bucket-creation process", + "type": "object", + "properties": { + "objectLocking": { + "description": "ObjectLocking Enable object locking", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflow": { + "description": "CronWorkflow is the definition of a scheduled workflow resource", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowSpec" + }, + "status": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflowStatus" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowDeletedResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowList": { + "description": "CronWorkflowList is list of CronWorkflow resources", + "type": "object", + "required": [ + "metadata", + "items" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + } + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowResumeRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowSpec": { + "description": "CronWorkflowSpec is the specification of a CronWorkflow", + "type": "object", + "required": [ + "workflowSpec", + "schedule" + ], + "properties": { + "concurrencyPolicy": { + "description": "ConcurrencyPolicy is the K8s-style concurrency policy that will be used", + "type": "string" + }, + "failedJobsHistoryLimit": { + "description": "FailedJobsHistoryLimit is the number of failed jobs to be kept at a time", + "type": "integer" + }, + "schedule": { + "description": "Schedule is a schedule to run the Workflow in Cron format", + "type": "string" + }, + "startingDeadlineSeconds": { + "description": "StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its original scheduled time if it is missed.", + "type": "integer" + }, + "successfulJobsHistoryLimit": { + "description": "SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time", + "type": "integer" + }, + "suspend": { + "description": "Suspend is a flag that will stop new CronWorkflows from running if set to true", + "type": "boolean" + }, + "timezone": { + "description": "Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine's local time.", + "type": "string" + }, + "workflowMetadata": { + "description": "WorkflowMetadata contains some metadata of the workflow to be run", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "workflowSpec": { + "description": "WorkflowSpec is the spec of the workflow to be run", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowStatus": { + "description": "CronWorkflowStatus is the status of a CronWorkflow", + "type": "object", + "required": [ + "active", + "lastScheduledTime", + "conditions" + ], + "properties": { + "active": { + "description": "Active is a list of active workflows stemming from this CronWorkflow", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + } + }, + "conditions": { + "description": "Conditions is a list of conditions the CronWorkflow may have", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Condition" + } + }, + "lastScheduledTime": { + "description": "LastScheduleTime is the last time the CronWorkflow was scheduled", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.argoproj.workflow.v1alpha1.CronWorkflowSuspendRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.DAGTask": { + "description": "DAGTask represents a node in the graph during DAG execution", + "type": "object", + "required": [ + "name" + ], + "properties": { + "arguments": { + "description": "Arguments are the parameter and artifact arguments to the template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" + }, + "continueOn": { + "description": "ContinueOn makes argo to proceed with the following step even if this step fails. Errors and Failed states can be specified", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContinueOn" + }, + "dependencies": { + "description": "Dependencies are name of other targets which this depends on", + "type": "array", + "items": { + "type": "string" + } + }, + "depends": { + "description": "Depends are name of other targets which this depends on", + "type": "string" + }, + "hooks": { + "description": "Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LifecycleHook" + } + }, + "inline": { + "description": "Inline is the template. Template must be empty if this is declared (and vice-versa).", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + }, + "name": { + "description": "Name is the name of the target", + "type": "string" + }, + "onExit": { + "description": "OnExit is a template reference which is invoked at the end of the template, irrespective of the success, failure, or error of the primary template. DEPRECATED: Use Hooks[exit].Template instead.", + "type": "string" + }, + "template": { + "description": "Name of template to execute", + "type": "string" + }, + "templateRef": { + "description": "TemplateRef is the reference to the template resource to execute.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" + }, + "when": { + "description": "When is an expression in which the task should conditionally execute", + "type": "string" + }, + "withItems": { + "description": "WithItems expands a task into multiple parallel tasks from the items in the list", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Item" + } + }, + "withParam": { + "description": "WithParam expands a task into multiple parallel tasks from the value in the parameter, which is expected to be a JSON list.", + "type": "string" + }, + "withSequence": { + "description": "WithSequence expands a task into a numeric sequence", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Sequence" + } + } + }, + "io.argoproj.workflow.v1alpha1.DAGTemplate": { + "description": "DAGTemplate is a template subtype for directed acyclic graph templates", + "type": "object", + "required": [ + "tasks" + ], + "properties": { + "failFast": { + "description": "This flag is for DAG logic. The DAG logic has a built-in \"fail fast\" feature to stop scheduling new steps, as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed before failing the DAG itself. The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to completion (either success or failure), regardless of the failed outcomes of branches in the DAG. More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442", + "type": "boolean" + }, + "target": { + "description": "Target are one or more names of targets to execute in a DAG", + "type": "string" + }, + "tasks": { + "description": "Tasks are a list of DAG tasks", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.DAGTask" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.argoproj.workflow.v1alpha1.Data": { + "description": "Data is a data template", + "type": "object", + "required": [ + "source", + "transformation" + ], + "properties": { + "source": { + "description": "Source sources external data into a data template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.DataSource" + }, + "transformation": { + "description": "Transformation applies a set of transformations", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TransformationStep" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.DataSource": { + "description": "DataSource sources external data into a data template", + "type": "object", + "properties": { + "artifactPaths": { + "description": "ArtifactPaths is a data transformation that collects a list of artifact paths", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactPaths" + } + } + }, + "io.argoproj.workflow.v1alpha1.Event": { + "type": "object", + "required": [ + "selector" + ], + "properties": { + "selector": { + "description": "Selector (https://github.com/antonmedv/expr) that we must must match the io.argoproj.workflow.v1alpha1. E.g. `payload.message == \"test\"`", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.EventResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.ExecutorConfig": { + "description": "ExecutorConfig holds configurations of an executor container.", + "type": "object", + "properties": { + "serviceAccountName": { + "description": "ServiceAccountName specifies the service account name of the executor container.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.GCSArtifact": { + "description": "GCSArtifact is the location of a GCS artifact", + "type": "object", + "required": [ + "key" + ], + "properties": { + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "key": { + "description": "Key is the path in the bucket where the artifact resides", + "type": "string" + }, + "serviceAccountKeySecret": { + "description": "ServiceAccountKeySecret is the secret selector to the bucket's service account key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.GCSArtifactRepository": { + "description": "GCSArtifactRepository defines the controller configuration for a GCS artifact repository", + "type": "object", + "properties": { + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "keyFormat": { + "description": "KeyFormat is defines the format of how to store keys. Can reference workflow variables", + "type": "string" + }, + "serviceAccountKeySecret": { + "description": "ServiceAccountKeySecret is the secret selector to the bucket's service account key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.Gauge": { + "description": "Gauge is a Gauge prometheus metric", + "type": "object", + "required": [ + "value", + "realtime" + ], + "properties": { + "operation": { + "description": "Operation defines the operation to apply with value and the metrics' current value", + "type": "string" + }, + "realtime": { + "description": "Realtime emits this metric in real time if applicable", + "type": "boolean" + }, + "value": { + "description": "Value is the value to be used in the operation with the metric's current value. If no operation is set, value is the value of the metric", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.GetUserInfoResponse": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "emailVerified": { + "type": "boolean" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "issuer": { + "type": "string" + }, + "name": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + }, + "serviceAccountNamespace": { + "type": "string" + }, + "subject": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.GitArtifact": { + "description": "GitArtifact is the location of an git artifact", + "type": "object", + "required": [ + "repo" + ], + "properties": { + "branch": { + "description": "Branch is the branch to fetch when `SingleBranch` is enabled", + "type": "string" + }, + "depth": { + "description": "Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip", + "type": "integer" + }, + "disableSubmodules": { + "description": "DisableSubmodules disables submodules during git clone", + "type": "boolean" + }, + "fetch": { + "description": "Fetch specifies a number of refs that should be fetched before checkout", + "type": "array", + "items": { + "type": "string" + } + }, + "insecureIgnoreHostKey": { + "description": "InsecureIgnoreHostKey disables SSH strict host key checking during git clone", + "type": "boolean" + }, + "passwordSecret": { + "description": "PasswordSecret is the secret selector to the repository password", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "repo": { + "description": "Repo is the git repository", + "type": "string" + }, + "revision": { + "description": "Revision is the git commit, tag, branch to checkout", + "type": "string" + }, + "singleBranch": { + "description": "SingleBranch enables single branch clone, using the `branch` parameter", + "type": "boolean" + }, + "sshPrivateKeySecret": { + "description": "SSHPrivateKeySecret is the secret selector to the repository ssh private key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "usernameSecret": { + "description": "UsernameSecret is the secret selector to the repository username", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.HDFSArtifact": { + "description": "HDFSArtifact is the location of an HDFS artifact", + "type": "object", + "required": [ + "path" + ], + "properties": { + "addresses": { + "description": "Addresses is accessible addresses of HDFS name nodes", + "type": "array", + "items": { + "type": "string" + } + }, + "force": { + "description": "Force copies a file forcibly even if it exists", + "type": "boolean" + }, + "hdfsUser": { + "description": "HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used.", + "type": "string" + }, + "krbCCacheSecret": { + "description": "KrbCCacheSecret is the secret selector for Kerberos ccache Either ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbConfigConfigMap": { + "description": "KrbConfig is the configmap selector for Kerberos config as string It must be set if either ccache or keytab is used.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "krbKeytabSecret": { + "description": "KrbKeytabSecret is the secret selector for Kerberos keytab Either ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbRealm": { + "description": "KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used.", + "type": "string" + }, + "krbServicePrincipalName": { + "description": "KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used.", + "type": "string" + }, + "krbUsername": { + "description": "KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used.", + "type": "string" + }, + "path": { + "description": "Path is a file path in HDFS", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.HDFSArtifactRepository": { + "description": "HDFSArtifactRepository defines the controller configuration for an HDFS artifact repository", + "type": "object", + "properties": { + "addresses": { + "description": "Addresses is accessible addresses of HDFS name nodes", + "type": "array", + "items": { + "type": "string" + } + }, + "force": { + "description": "Force copies a file forcibly even if it exists", + "type": "boolean" + }, + "hdfsUser": { + "description": "HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used.", + "type": "string" + }, + "krbCCacheSecret": { + "description": "KrbCCacheSecret is the secret selector for Kerberos ccache Either ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbConfigConfigMap": { + "description": "KrbConfig is the configmap selector for Kerberos config as string It must be set if either ccache or keytab is used.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "krbKeytabSecret": { + "description": "KrbKeytabSecret is the secret selector for Kerberos keytab Either ccache or keytab can be set to use Kerberos.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "krbRealm": { + "description": "KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used.", + "type": "string" + }, + "krbServicePrincipalName": { + "description": "KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used.", + "type": "string" + }, + "krbUsername": { + "description": "KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used.", + "type": "string" + }, + "pathFormat": { + "description": "PathFormat is defines the format of path to store a file. Can reference workflow variables", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTP": { + "type": "object", + "required": [ + "url" + ], + "properties": { + "body": { + "description": "Body is content of the HTTP Request", + "type": "string" + }, + "bodyFrom": { + "description": "BodyFrom is content of the HTTP Request as Bytes", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPBodySource" + }, + "headers": { + "description": "Headers are an optional list of headers to send with HTTP requests", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPHeader" + } + }, + "insecureSkipVerify": { + "description": "InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client", + "type": "boolean" + }, + "method": { + "description": "Method is HTTP methods for HTTP Request", + "type": "string" + }, + "successCondition": { + "description": "SuccessCondition is an expression if evaluated to true is considered successful", + "type": "string" + }, + "timeoutSeconds": { + "description": "TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds", + "type": "integer" + }, + "url": { + "description": "URL of the HTTP Request", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTPArtifact": { + "description": "HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container", + "type": "object", + "required": [ + "url" + ], + "properties": { + "auth": { + "description": "Auth contains information for client authentication", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPAuth" + }, + "headers": { + "description": "Headers are an optional list of headers to send with HTTP requests for artifacts", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Header" + } + }, + "url": { + "description": "URL of the artifact", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTPAuth": { + "type": "object", + "properties": { + "basicAuth": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.BasicAuth" + }, + "clientCert": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ClientCertAuth" + }, + "oauth2": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OAuth2Auth" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTPBodySource": { + "description": "HTTPBodySource contains the source of the HTTP body.", + "type": "object", + "properties": { + "bytes": { + "type": "string", + "format": "byte" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTPHeader": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTPHeaderSource" + } + } + }, + "io.argoproj.workflow.v1alpha1.HTTPHeaderSource": { + "type": "object", + "properties": { + "secretKeyRef": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.Header": { + "description": "Header indicate a key-value request header to be used when fetching artifacts over HTTP", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name is the header name", + "type": "string" + }, + "value": { + "description": "Value is the literal value to use for the header", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Histogram": { + "description": "Histogram is a Histogram prometheus metric", + "type": "object", + "required": [ + "value", + "buckets" + ], + "properties": { + "buckets": { + "description": "Buckets is a list of bucket divisors for the histogram", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Amount" + } + }, + "value": { + "description": "Value is the value of the metric", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.InfoResponse": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Column" + } + }, + "links": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Link" + } + }, + "managedNamespace": { + "type": "string" + }, + "modals": { + "type": "object", + "title": "which modals to show", + "additionalProperties": { + "type": "boolean" + } + }, + "navColor": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Inputs": { + "description": "Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another", + "type": "object", + "properties": { + "artifacts": { + "description": "Artifact are a list of artifacts passed as inputs", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "parameters": { + "description": "Parameters are a list of parameters passed as inputs", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.argoproj.workflow.v1alpha1.Item": { + "description": "Item expands a single workflow step into multiple parallel steps The value of Item can be a map, string, bool, or number" + }, + "io.argoproj.workflow.v1alpha1.LabelKeys": { + "description": "LabelKeys is list of keys", + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.LabelValueFrom": { + "type": "object", + "required": [ + "expression" + ], + "properties": { + "expression": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.LabelValues": { + "description": "Labels is list of workflow labels", + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.LifecycleHook": { + "type": "object", + "properties": { + "arguments": { + "description": "Arguments hold arguments to the template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" + }, + "expression": { + "description": "Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored", + "type": "string" + }, + "template": { + "description": "Template is the name of the template to execute by the hook", + "type": "string" + }, + "templateRef": { + "description": "TemplateRef is the reference to the template resource to execute by the hook", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" + } + } + }, + "io.argoproj.workflow.v1alpha1.Link": { + "description": "A link to another app.", + "type": "object", + "required": [ + "name", + "scope", + "url" + ], + "properties": { + "name": { + "description": "The name of the link, E.g. \"Workflow Logs\" or \"Pod Logs\"", + "type": "string" + }, + "scope": { + "description": "\"workflow\", \"pod\", \"pod-logs\", \"event-source-logs\", \"sensor-logs\", \"workflow-list\" or \"chat\"", + "type": "string" + }, + "url": { + "description": "The URL. Can contain \"${metadata.namespace}\", \"${metadata.name}\", \"${status.startedAt}\", \"${status.finishedAt}\" or any other element in workflow yaml, e.g. \"${io.argoproj.workflow.v1alpha1.metadata.annotations.userDefinedKey}\"", + "type": "string" + } + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "io.argoproj.workflow.v1alpha1.LintCronWorkflowRequest": { + "type": "object", + "properties": { + "cronWorkflow": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.LogEntry": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "podName": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ManifestFrom": { + "type": "object", + "required": [ + "artifact" + ], + "properties": { + "artifact": { + "description": "Artifact contains the artifact to use", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" + } + } + }, + "io.argoproj.workflow.v1alpha1.MemoizationStatus": { + "description": "MemoizationStatus is the status of this memoized node", + "type": "object", + "required": [ + "hit", + "key", + "cacheName" + ], + "properties": { + "cacheName": { + "description": "Cache is the name of the cache that was used", + "type": "string" + }, + "hit": { + "description": "Hit indicates whether this node was created from a cache entry", + "type": "boolean" + }, + "key": { + "description": "Key is the name of the key used for this node's cache", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Memoize": { + "description": "Memoization enables caching for the Outputs of the template", + "type": "object", + "required": [ + "key", + "cache", + "maxAge" + ], + "properties": { + "cache": { + "description": "Cache sets and configures the kind of cache", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Cache" + }, + "key": { + "description": "Key is the key to use as the caching key", + "type": "string" + }, + "maxAge": { + "description": "MaxAge is the maximum age (e.g. \"180s\", \"24h\") of an entry that is still considered valid. If an entry is older than the MaxAge, it will be ignored.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Metadata": { + "description": "Pod metdata", + "type": "object", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.MetricLabel": { + "description": "MetricLabel is a single label for a prometheus metric", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Metrics": { + "description": "Metrics are a list of metrics emitted from a Workflow/Template", + "type": "object", + "required": [ + "prometheus" + ], + "properties": { + "prometheus": { + "description": "Prometheus is a list of prometheus metrics to be emitted", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Prometheus" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.Mutex": { + "description": "Mutex holds Mutex configuration", + "type": "object", + "properties": { + "name": { + "description": "name of the mutex", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the mutex, default: [namespace of workflow]", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.MutexHolding": { + "description": "MutexHolding describes the mutex and the object which is holding it.", + "type": "object", + "properties": { + "holder": { + "description": "Holder is a reference to the object which holds the Mutex. Holding Scenario:\n 1. Current workflow's NodeID which is holding the lock.\n e.g: ${NodeID}\nWaiting Scenario:\n 1. Current workflow or other workflow NodeID which is holding the lock.\n e.g: ${WorkflowName}/${NodeID}", + "type": "string" + }, + "mutex": { + "description": "Reference for the mutex e.g: ${namespace}/mutex/${mutexName}", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.MutexStatus": { + "description": "MutexStatus contains which objects hold mutex locks, and which objects this workflow is waiting on to release locks.", + "type": "object", + "properties": { + "holding": { + "description": "Holding is a list of mutexes and their respective objects that are held by mutex lock for this io.argoproj.workflow.v1alpha1.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.MutexHolding" + }, + "x-kubernetes-list-type": "atomic" + }, + "waiting": { + "description": "Waiting is a list of mutexes and their respective objects this workflow is waiting for.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.MutexHolding" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.argoproj.workflow.v1alpha1.NodeResult": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "outputs": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" + }, + "phase": { + "type": "string" + }, + "progress": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.NodeStatus": { + "description": "NodeStatus contains status information about an individual node in the workflow", + "type": "object", + "required": [ + "id", + "name", + "type" + ], + "properties": { + "boundaryID": { + "description": "BoundaryID indicates the node ID of the associated template root node in which this node belongs to", + "type": "string" + }, + "children": { + "description": "Children is a list of child node IDs", + "type": "array", + "items": { + "type": "string" + } + }, + "daemoned": { + "description": "Daemoned tracks whether or not this node was daemoned and need to be terminated", + "type": "boolean" + }, + "displayName": { + "description": "DisplayName is a human readable representation of the node. Unique within a template boundary", + "type": "string" + }, + "estimatedDuration": { + "description": "EstimatedDuration in seconds.", + "type": "integer" + }, + "finishedAt": { + "description": "Time at which this node completed", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "hostNodeName": { + "description": "HostNodeName name of the Kubernetes node on which the Pod is running, if applicable", + "type": "string" + }, + "id": { + "description": "ID is a unique identifier of a node within the worklow It is implemented as a hash of the node name, which makes the ID deterministic", + "type": "string" + }, + "inputs": { + "description": "Inputs captures input parameter values and artifact locations supplied to this template invocation", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Inputs" + }, + "memoizationStatus": { + "description": "MemoizationStatus holds information about cached nodes", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.MemoizationStatus" + }, + "message": { + "description": "A human readable message indicating details about why the node is in this condition.", + "type": "string" + }, + "name": { + "description": "Name is unique name in the node tree used to generate the node ID", + "type": "string" + }, + "outboundNodes": { + "description": "OutboundNodes tracks the node IDs which are considered \"outbound\" nodes to a template invocation. For every invocation of a template, there are nodes which we considered as \"outbound\". Essentially, these are last nodes in the execution sequence to run, before the template is considered completed. These nodes are then connected as parents to a following step.\n\nIn the case of single pod steps (i.e. container, script, resource templates), this list will be nil since the pod itself is already considered the \"outbound\" node. In the case of DAGs, outbound nodes are the \"target\" tasks (tasks with no children). In the case of steps, outbound nodes are all the containers involved in the last step group. NOTE: since templates are composable, the list of outbound nodes are carried upwards when a DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of a template, will be a superset of the outbound nodes of its last children.", + "type": "array", + "items": { + "type": "string" + } + }, + "outputs": { + "description": "Outputs captures output parameter values and artifact locations produced by this template invocation", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" + }, + "phase": { + "description": "Phase a simple, high-level summary of where the node is in its lifecycle. Can be used as a state machine. Will be one of these values \"Pending\", \"Running\" before the node is completed, or \"Succeeded\", \"Skipped\", \"Failed\", \"Error\", or \"Omitted\" as a final state.", + "type": "string" + }, + "podIP": { + "description": "PodIP captures the IP of the pod for daemoned steps", + "type": "string" + }, + "progress": { + "description": "Progress to completion", + "type": "string" + }, + "resourcesDuration": { + "description": "ResourcesDuration is indicative, but not accurate, resource duration. This is populated when the nodes completes.", + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + }, + "startedAt": { + "description": "Time at which this node started", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "synchronizationStatus": { + "description": "SynchronizationStatus is the synchronization status of the node", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeSynchronizationStatus" + }, + "templateName": { + "description": "TemplateName is the template name which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup)", + "type": "string" + }, + "templateRef": { + "description": "TemplateRef is the reference to the template resource which this node corresponds to. Not applicable to virtual nodes (e.g. Retry, StepGroup)", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" + }, + "templateScope": { + "description": "TemplateScope is the template scope in which the template of this node was retrieved.", + "type": "string" + }, + "type": { + "description": "Type indicates type of node", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.NodeSynchronizationStatus": { + "description": "NodeSynchronizationStatus stores the status of a node", + "type": "object", + "properties": { + "waiting": { + "description": "Waiting is the name of the lock that this node is waiting for", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.NoneStrategy": { + "description": "NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately.", + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.OAuth2Auth": { + "description": "OAuth2Auth holds all information for client authentication via OAuth2 tokens", + "type": "object", + "properties": { + "clientIDSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "clientSecretSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "endpointParams": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OAuth2EndpointParam" + } + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "tokenURLSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.OAuth2EndpointParam": { + "description": "EndpointParam is for requesting optional fields that should be sent in the oauth request", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "Name is the header name", + "type": "string" + }, + "value": { + "description": "Value is the literal value to use for the header", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.OSSArtifact": { + "description": "OSSArtifact is the location of an Alibaba Cloud OSS artifact", + "type": "object", + "required": [ + "key" + ], + "properties": { + "accessKeySecret": { + "description": "AccessKeySecret is the secret selector to the bucket's access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "createBucketIfNotPresent": { + "description": "CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist", + "type": "boolean" + }, + "endpoint": { + "description": "Endpoint is the hostname of the bucket endpoint", + "type": "string" + }, + "key": { + "description": "Key is the path in the bucket where the artifact resides", + "type": "string" + }, + "lifecycleRule": { + "description": "LifecycleRule specifies how to manage bucket's lifecycle", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSLifecycleRule" + }, + "secretKeySecret": { + "description": "SecretKeySecret is the secret selector to the bucket's secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "securityToken": { + "description": "SecurityToken is the user's temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.OSSArtifactRepository": { + "description": "OSSArtifactRepository defines the controller configuration for an OSS artifact repository", + "type": "object", + "properties": { + "accessKeySecret": { + "description": "AccessKeySecret is the secret selector to the bucket's access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "createBucketIfNotPresent": { + "description": "CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist", + "type": "boolean" + }, + "endpoint": { + "description": "Endpoint is the hostname of the bucket endpoint", + "type": "string" + }, + "keyFormat": { + "description": "KeyFormat is defines the format of how to store keys. Can reference workflow variables", + "type": "string" + }, + "lifecycleRule": { + "description": "LifecycleRule specifies how to manage bucket's lifecycle", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.OSSLifecycleRule" + }, + "secretKeySecret": { + "description": "SecretKeySecret is the secret selector to the bucket's secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "securityToken": { + "description": "SecurityToken is the user's temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.OSSLifecycleRule": { + "description": "OSSLifecycleRule specifies how to manage bucket's lifecycle", + "type": "object", + "properties": { + "markDeletionAfterDays": { + "description": "MarkDeletionAfterDays is the number of days before we delete objects in the bucket", + "type": "integer" + }, + "markInfrequentAccessAfterDays": { + "description": "MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type", + "type": "integer" + } + } + }, + "io.argoproj.workflow.v1alpha1.Outputs": { + "description": "Outputs hold parameters, artifacts, and results from a step", + "type": "object", + "properties": { + "artifacts": { + "description": "Artifacts holds the list of output artifacts produced by a step", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "exitCode": { + "description": "ExitCode holds the exit code of a script template", + "type": "string" + }, + "parameters": { + "description": "Parameters holds the list of output parameters produced by a step", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Parameter" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "result": { + "description": "Result holds the result (stdout) of a script template", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ParallelSteps": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowStep" + } + }, + "io.argoproj.workflow.v1alpha1.Parameter": { + "description": "Parameter indicate a passed string parameter to a service template with an optional default value", + "type": "object", + "required": [ + "name" + ], + "properties": { + "default": { + "description": "Default is the default value to use for an input parameter if a value was not supplied", + "type": "string" + }, + "description": { + "description": "Description is the parameter description", + "type": "string" + }, + "enum": { + "description": "Enum holds a list of string values to choose from, for the actual value of the parameter", + "type": "array", + "items": { + "type": "string" + } + }, + "globalName": { + "description": "GlobalName exports an output parameter to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters", + "type": "string" + }, + "name": { + "description": "Name is the parameter name", + "type": "string" + }, + "value": { + "description": "Value is the literal value to use for the parameter. If specified in the context of an input parameter, the value takes precedence over any passed values", + "type": "string" + }, + "valueFrom": { + "description": "ValueFrom is the source for the output parameter's value", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ValueFrom" + } + } + }, + "io.argoproj.workflow.v1alpha1.Plugin": { + "description": "Plugin is an Object with exactly one key", + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.PodGC": { + "description": "PodGC describes how to delete completed pods as they complete", + "type": "object", + "properties": { + "labelSelector": { + "description": "LabelSelector is the label selector to check if the pods match the labels before being added to the pod GC queue.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "strategy": { + "description": "Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Prometheus": { + "description": "Prometheus is a prometheus metric to be emitted", + "type": "object", + "required": [ + "name", + "help" + ], + "properties": { + "counter": { + "description": "Counter is a counter metric", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Counter" + }, + "gauge": { + "description": "Gauge is a gauge metric", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Gauge" + }, + "help": { + "description": "Help is a string that describes the metric", + "type": "string" + }, + "histogram": { + "description": "Histogram is a histogram metric", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Histogram" + }, + "labels": { + "description": "Labels is a list of metric labels", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.MetricLabel" + } + }, + "name": { + "description": "Name is the name of the metric", + "type": "string" + }, + "when": { + "description": "When is a conditional statement that decides when to emit the metric", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.RawArtifact": { + "description": "RawArtifact allows raw string content to be placed as an artifact in a container", + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "description": "Data is the string contents of the artifact", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ResourceTemplate": { + "description": "ResourceTemplate is a template subtype to manipulate kubernetes resources", + "type": "object", + "required": [ + "action" + ], + "properties": { + "action": { + "description": "Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch", + "type": "string" + }, + "failureCondition": { + "description": "FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed", + "type": "string" + }, + "flags": { + "description": "Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [\n\t\"--validate=false\" # disable resource validation\n]", + "type": "array", + "items": { + "type": "string" + } + }, + "manifest": { + "description": "Manifest contains the kubernetes manifest", + "type": "string" + }, + "manifestFrom": { + "description": "ManifestFrom is the source for a single kubernetes manifest", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ManifestFrom" + }, + "mergeStrategy": { + "description": "MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json", + "type": "string" + }, + "setOwnerReference": { + "description": "SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.", + "type": "boolean" + }, + "successCondition": { + "description": "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" + } + } + }, + "io.argoproj.workflow.v1alpha1.ResubmitArchivedWorkflowRequest": { + "type": "object", + "properties": { + "memoized": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "string" + } + }, + "uid": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.RetryAffinity": { + "description": "RetryAffinity prevents running steps on the same host.", + "type": "object", + "properties": { + "nodeAntiAffinity": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryNodeAntiAffinity" + } + } + }, + "io.argoproj.workflow.v1alpha1.RetryArchivedWorkflowRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "nodeFieldSelector": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "string" + } + }, + "restartSuccessful": { + "type": "boolean" + }, + "uid": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.RetryNodeAntiAffinity": { + "description": "RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\".", + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.RetryStrategy": { + "description": "RetryStrategy provides controls on how to retry a workflow step", + "type": "object", + "properties": { + "affinity": { + "description": "Affinity prevents running workflow's step on the same host", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryAffinity" + }, + "backoff": { + "description": "Backoff is a backoff strategy", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Backoff" + }, + "expression": { + "description": "Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored", + "type": "string" + }, + "limit": { + "description": "Limit is the maximum number of retry attempts when retrying a container. It does not include the original container; the maximum number of total attempts will be `limit + 1`.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "retryPolicy": { + "description": "RetryPolicy is a policy of NodePhase statuses that will be retried", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.S3Artifact": { + "description": "S3Artifact is the location of an S3 artifact", + "type": "object", + "properties": { + "accessKeySecret": { + "description": "AccessKeySecret is the secret selector to the bucket's access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "createBucketIfNotPresent": { + "description": "CreateBucketIfNotPresent tells the driver to attempt to create the S3 bucket for output artifacts, if it doesn't exist. Setting Enabled Encryption will apply either SSE-S3 to the bucket if KmsKeyId is not set or SSE-KMS if it is.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CreateS3BucketOptions" + }, + "encryptionOptions": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3EncryptionOptions" + }, + "endpoint": { + "description": "Endpoint is the hostname of the bucket endpoint", + "type": "string" + }, + "insecure": { + "description": "Insecure will connect to the service with TLS", + "type": "boolean" + }, + "key": { + "description": "Key is the key in the bucket where the artifact resides", + "type": "string" + }, + "region": { + "description": "Region contains the optional bucket region", + "type": "string" + }, + "roleARN": { + "description": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.", + "type": "string" + }, + "secretKeySecret": { + "description": "SecretKeySecret is the secret selector to the bucket's secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "useSDKCreds": { + "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.S3ArtifactRepository": { + "description": "S3ArtifactRepository defines the controller configuration for an S3 artifact repository", + "type": "object", + "properties": { + "accessKeySecret": { + "description": "AccessKeySecret is the secret selector to the bucket's access key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "bucket": { + "description": "Bucket is the name of the bucket", + "type": "string" + }, + "createBucketIfNotPresent": { + "description": "CreateBucketIfNotPresent tells the driver to attempt to create the S3 bucket for output artifacts, if it doesn't exist. Setting Enabled Encryption will apply either SSE-S3 to the bucket if KmsKeyId is not set or SSE-KMS if it is.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CreateS3BucketOptions" + }, + "encryptionOptions": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.S3EncryptionOptions" + }, + "endpoint": { + "description": "Endpoint is the hostname of the bucket endpoint", + "type": "string" + }, + "insecure": { + "description": "Insecure will connect to the service with TLS", + "type": "boolean" + }, + "keyFormat": { + "description": "KeyFormat is defines the format of how to store keys. Can reference workflow variables", + "type": "string" + }, + "keyPrefix": { + "description": "KeyPrefix is prefix used as part of the bucket key in which the controller will store artifacts. DEPRECATED. Use KeyFormat instead", + "type": "string" + }, + "region": { + "description": "Region contains the optional bucket region", + "type": "string" + }, + "roleARN": { + "description": "RoleARN is the Amazon Resource Name (ARN) of the role to assume.", + "type": "string" + }, + "secretKeySecret": { + "description": "SecretKeySecret is the secret selector to the bucket's secret key", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, + "useSDKCreds": { + "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.S3EncryptionOptions": { + "description": "S3EncryptionOptions used to determine encryption options during s3 operations", + "type": "object", + "properties": { + "enableEncryption": { + "description": "EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used", + "type": "boolean" + }, + "kmsEncryptionContext": { + "description": "KmsEncryptionContext is a json blob that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context for more information", + "type": "string" + }, + "kmsKeyId": { + "description": "KMSKeyId tells the driver to encrypt the object using the specified KMS Key.", + "type": "string" + }, + "serverSideCustomerKeySecret": { + "description": "ServerSideCustomerKeySecret tells the driver to encrypt the output artifacts using SSE-C with the specified secret.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.argoproj.workflow.v1alpha1.ScriptTemplate": { + "description": "ScriptTemplate is a template subtype to enable scripting through code steps", + "type": "object", + "required": [ + "image", + "source" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + } + }, + "image": { + "description": "Container 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.", + "type": "string" + }, + "imagePullPolicy": { + "description": "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", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "source": { + "description": "Source contains the source code of the script to execute", + "type": "string" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "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.", + "type": "boolean" + }, + "stdinOnce": { + "description": "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", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "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.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "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.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "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.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.SemaphoreHolding": { + "type": "object", + "properties": { + "holders": { + "description": "Holders stores the list of current holder names in the io.argoproj.workflow.v1alpha1.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "semaphore": { + "description": "Semaphore stores the semaphore name.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.SemaphoreRef": { + "description": "SemaphoreRef is a reference of Semaphore", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "ConfigMapKeyRef is configmap selector for Semaphore configuration", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "namespace": { + "description": "Namespace is the namespace of the configmap, default: [namespace of workflow]", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.SemaphoreStatus": { + "type": "object", + "properties": { + "holding": { + "description": "Holding stores the list of resource acquired synchronization lock for workflows.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreHolding" + } + }, + "waiting": { + "description": "Waiting indicates the list of current synchronization lock holders.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreHolding" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.Sequence": { + "description": "Sequence expands a workflow step into numeric range", + "type": "object", + "properties": { + "count": { + "description": "Count is number of elements in the sequence (default: 0). Not to be used with end", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "end": { + "description": "Number at which to end the sequence (default: 0). Not to be used with Count", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "format": { + "description": "Format is a printf format string to format the value in the sequence", + "type": "string" + }, + "start": { + "description": "Number at which to start the sequence (default: 0)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.argoproj.workflow.v1alpha1.Submit": { + "type": "object", + "required": [ + "workflowTemplateRef" + ], + "properties": { + "arguments": { + "description": "Arguments extracted from the event and then set as arguments to the workflow created.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" + }, + "metadata": { + "description": "Metadata optional means to customize select fields of the workflow metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "workflowTemplateRef": { + "description": "WorkflowTemplateRef the workflow template to submit", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateRef" + } + } + }, + "io.argoproj.workflow.v1alpha1.SubmitOpts": { + "description": "SubmitOpts are workflow submission options", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations adds to metadata.labels", + "type": "string" + }, + "dryRun": { + "description": "DryRun validates the workflow on the client-side without creating it. This option is not supported in API", + "type": "boolean" + }, + "entryPoint": { + "description": "Entrypoint overrides spec.entrypoint", + "type": "string" + }, + "generateName": { + "description": "GenerateName overrides metadata.generateName", + "type": "string" + }, + "labels": { + "description": "Labels adds to metadata.labels", + "type": "string" + }, + "name": { + "description": "Name overrides metadata.name", + "type": "string" + }, + "ownerReference": { + "description": "OwnerReference creates a metadata.ownerReference", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" + }, + "parameters": { + "description": "Parameters passes input parameters to workflow", + "type": "array", + "items": { + "type": "string" + } + }, + "podPriorityClassName": { + "description": "Set the podPriorityClassName of the workflow", + "type": "string" + }, + "priority": { + "description": "Priority is used if controller is configured to process limited number of workflows in parallel, higher priority workflows are processed first.", + "type": "integer" + }, + "serverDryRun": { + "description": "ServerDryRun validates the workflow on the server-side without creating it", + "type": "boolean" + }, + "serviceAccount": { + "description": "ServiceAccount runs all pods in the workflow using specified ServiceAccount.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.SuppliedValueFrom": { + "description": "SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc.", + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.SuspendTemplate": { + "description": "SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time", + "type": "object", + "properties": { + "duration": { + "description": "Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. Could also be a Duration, e.g.: \"2m\", \"6h\", \"1d\"", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Synchronization": { + "description": "Synchronization holds synchronization lock configuration", + "type": "object", + "properties": { + "mutex": { + "description": "Mutex holds the Mutex lock details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Mutex" + }, + "semaphore": { + "description": "Semaphore holds the Semaphore configuration", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreRef" + } + } + }, + "io.argoproj.workflow.v1alpha1.SynchronizationStatus": { + "description": "SynchronizationStatus stores the status of semaphore and mutex.", + "type": "object", + "properties": { + "mutex": { + "description": "Mutex stores this workflow's mutex holder details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.MutexStatus" + }, + "semaphore": { + "description": "Semaphore stores this workflow's Semaphore holder details", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreStatus" + } + } + }, + "io.argoproj.workflow.v1alpha1.TTLStrategy": { + "description": "TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed", + "type": "object", + "properties": { + "secondsAfterCompletion": { + "description": "SecondsAfterCompletion is the number of seconds to live after completion", + "type": "integer" + }, + "secondsAfterFailure": { + "description": "SecondsAfterFailure is the number of seconds to live after failure", + "type": "integer" + }, + "secondsAfterSuccess": { + "description": "SecondsAfterSuccess is the number of seconds to live after success", + "type": "integer" + } + } + }, + "io.argoproj.workflow.v1alpha1.TarStrategy": { + "description": "TarStrategy will tar and gzip the file or directory when saving", + "type": "object", + "properties": { + "compressionLevel": { + "description": "CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression.", + "type": "integer" + } + } + }, + "io.argoproj.workflow.v1alpha1.Template": { + "description": "Template is a reusable and composable unit of execution in a workflow", + "type": "object", + "properties": { + "activeDeadlineSeconds": { + "description": "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.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "affinity": { + "description": "Affinity sets the pod's scheduling constraints Overrides the affinity set at the workflow level (if any)", + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "archiveLocation": { + "description": "Location in which all files related to the step will be stored (logs, artifacts, etc...). Can be overridden by individual items in Outputs. If omitted, will use the default artifact repository location configured in the controller, appended with the \u003cworkflowname\u003e/\u003cnodename\u003e in the key.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation" + }, + "automountServiceAccountToken": { + "description": "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" + }, + "container": { + "description": "Container is the main container image to run in the pod", + "$ref": "#/definitions/io.k8s.api.core.v1.Container" + }, + "containerSet": { + "description": "ContainerSet groups multiple containers within a single pod.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContainerSetTemplate" + }, + "daemon": { + "description": "Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness", + "type": "boolean" + }, + "dag": { + "description": "DAG template subtype which runs a DAG", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.DAGTemplate" + }, + "data": { + "description": "Data is a data template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Data" + }, + "executor": { + "description": "Executor holds configurations of the executor container.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ExecutorConfig" + }, + "failFast": { + "description": "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" + }, + "hostAliases": { + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod spec", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "http": { + "description": "HTTP makes a HTTP request", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.HTTP" + }, + "initContainers": { + "description": "InitContainers is a list of containers which run before the main container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UserContainer" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "inputs": { + "description": "Inputs describe what inputs parameters and artifacts are supplied to this template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Inputs" + }, + "memoize": { + "description": "Memoize allows templates to use outputs generated from already executed templates", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Memoize" + }, + "metadata": { + "description": "Metdata sets the pods's metadata, i.e. annotations and labels", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metadata" + }, + "metrics": { + "description": "Metrics are a list of metrics emitted from this template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metrics" + }, + "name": { + "description": "Name is the name of the template", + "type": "string" + }, + "nodeSelector": { + "description": "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": "object", + "additionalProperties": { + "type": "string" + } + }, + "outputs": { + "description": "Outputs describe the parameters and artifacts that this template produces", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" + }, + "parallelism": { + "description": "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": "integer" + }, + "plugin": { + "description": "Plugin is a plugin template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Plugin" + }, + "podSpecPatch": { + "description": "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" + }, + "priority": { + "description": "Priority to apply to workflow pods.", + "type": "integer" + }, + "priorityClassName": { + "description": "PriorityClassName to apply to workflow pods.", + "type": "string" + }, + "resource": { + "description": "Resource template subtype which can run k8s resources", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ResourceTemplate" + }, + "retryStrategy": { + "description": "RetryStrategy describes how to retry a template when it fails", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryStrategy" + }, + "schedulerName": { + "description": "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" + }, + "script": { + "description": "Script runs a portion of code against an interpreter", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ScriptTemplate" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "serviceAccountName": { + "description": "ServiceAccountName to apply to workflow pods", + "type": "string" + }, + "sidecars": { + "description": "Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UserContainer" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "steps": { + "description": "Steps define a series of sequential/parallel workflow steps", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ParallelSteps" + } + }, + "suspend": { + "description": "Suspend template subtype which can suspend a workflow when reaching the step", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SuspendTemplate" + }, + "synchronization": { + "description": "Synchronization holds synchronization lock configuration for this template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Synchronization" + }, + "timeout": { + "description": "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" + }, + "tolerations": { + "description": "Tolerations to apply to workflow pods.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-patch-merge-key": "key", + "x-kubernetes-patch-strategy": "merge" + }, + "volumes": { + "description": "Volumes is a list of volumes that can be mounted by containers in a template.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.argoproj.workflow.v1alpha1.TemplateRef": { + "description": "TemplateRef is a reference of template resource.", + "type": "object", + "properties": { + "clusterScope": { + "description": "ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate).", + "type": "boolean" + }, + "name": { + "description": "Name is the resource name of the template.", + "type": "string" + }, + "template": { + "description": "Template is the name of referred template in the resource.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.TransformationStep": { + "type": "object", + "required": [ + "expression" + ], + "properties": { + "expression": { + "description": "Expression defines an expr expression to apply", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.UpdateCronWorkflowRequest": { + "type": "object", + "properties": { + "cronWorkflow": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" + }, + "name": { + "description": "DEPRECATED: This field is ignored.", + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.UserContainer": { + "description": "UserContainer is a container specified by a user.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + } + }, + "image": { + "description": "Container 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.", + "type": "string" + }, + "imagePullPolicy": { + "description": "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", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "mirrorVolumeMounts": { + "description": "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", + "type": "boolean" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "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.", + "type": "boolean" + }, + "stdinOnce": { + "description": "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", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "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.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "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.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "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.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.ValueFrom": { + "description": "ValueFrom describes a location in which to obtain the value to a parameter", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "ConfigMapKeyRef is configmap selector for input parameter configuration", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "default": { + "description": "Default specifies a value to be used if retrieving the value from the specified source fails", + "type": "string" + }, + "event": { + "description": "Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. `payload.message`", + "type": "string" + }, + "expression": { + "description": "Expression, if defined, is evaluated to specify the value for the parameter", + "type": "string" + }, + "jqFilter": { + "description": "JQFilter expression against the resource object in resource templates", + "type": "string" + }, + "jsonPath": { + "description": "JSONPath of a resource to retrieve an output parameter value from in resource templates", + "type": "string" + }, + "parameter": { + "description": "Parameter reference to a step or dag task in which to retrieve an output parameter value from (e.g. '{{steps.mystep.outputs.myparam}}')", + "type": "string" + }, + "path": { + "description": "Path in the container to retrieve an output parameter value from in container templates", + "type": "string" + }, + "supplied": { + "description": "Supplied value to be filled in directly, either through the CLI, API, etc.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SuppliedValueFrom" + } + } + }, + "io.argoproj.workflow.v1alpha1.Version": { + "type": "object", + "required": [ + "version", + "buildDate", + "gitCommit", + "gitTag", + "gitTreeState", + "goVersion", + "compiler", + "platform" + ], + "properties": { + "buildDate": { + "type": "string" + }, + "compiler": { + "type": "string" + }, + "gitCommit": { + "type": "string" + }, + "gitTag": { + "type": "string" + }, + "gitTreeState": { + "type": "string" + }, + "goVersion": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.VolumeClaimGC": { + "description": "VolumeClaimGC describes how to delete volumes from completed Workflows", + "type": "object", + "properties": { + "strategy": { + "description": "Strategy is the strategy to use. One of \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". Defaults to \"OnWorkflowSuccess\"", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.Workflow": { + "description": "Workflow is the definition of a workflow resource", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" + }, + "status": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowStatus" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowCreateRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "instanceID": { + "description": "This field is no longer used.", + "type": "string" + }, + "namespace": { + "type": "string" + }, + "serverDryRun": { + "type": "boolean" + }, + "workflow": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowDeleteResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.WorkflowEventBinding": { + "description": "WorkflowEventBinding is the definition of an event resource", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowEventBindingSpec" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowEventBindingList": { + "description": "WorkflowEventBindingList is list of event resources", + "type": "object", + "required": [ + "metadata", + "items" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowEventBinding" + } + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowEventBindingSpec": { + "type": "object", + "required": [ + "event" + ], + "properties": { + "event": { + "description": "Event is the event to bind to", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Event" + }, + "submit": { + "description": "Submit is the workflow template to submit", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Submit" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowLevelArtifactGC": { + "description": "WorkflowLevelArtifactGC describes how to delete artifacts from completed Workflows - this spec is used on the Workflow level", + "type": "object", + "properties": { + "forceFinalizerRemoval": { + "description": "ForceFinalizerRemoval: if set to true, the finalizer will be removed in the case that Artifact GC fails", + "type": "boolean" + }, + "podMetadata": { + "description": "PodMetadata is an optional field for specifying the Labels and Annotations that should be assigned to the Pod doing the deletion", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metadata" + }, + "serviceAccountName": { + "description": "ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion", + "type": "string" + }, + "strategy": { + "description": "Strategy is the strategy to use.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowLintRequest": { + "type": "object", + "properties": { + "namespace": { + "type": "string" + }, + "workflow": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowList": { + "description": "WorkflowList is list of Workflow resources", + "type": "object", + "required": [ + "metadata", + "items" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + } + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowMetadata": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelsFrom": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LabelValueFrom" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowResubmitRequest": { + "type": "object", + "properties": { + "memoized": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowResumeRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "nodeFieldSelector": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowRetryRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "nodeFieldSelector": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "string" + } + }, + "restartSuccessful": { + "type": "boolean" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowSetRequest": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "nodeFieldSelector": { + "type": "string" + }, + "outputParameters": { + "type": "string" + }, + "phase": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowSpec": { + "description": "WorkflowSpec is the specification of a Workflow.", + "type": "object", + "properties": { + "activeDeadlineSeconds": { + "description": "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": "integer" + }, + "affinity": { + "description": "Affinity sets the scheduling constraints for all pods in the io.argoproj.workflow.v1alpha1. Can be overridden by an affinity specified in the template", + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "archiveLogs": { + "description": "ArchiveLogs indicates if the container logs should be archived", + "type": "boolean" + }, + "arguments": { + "description": "Arguments contain the parameters and artifacts sent to the workflow entrypoint Parameters are referencable globally using the 'workflow' variable prefix. e.g. {{io.argoproj.workflow.v1alpha1.parameters.myparam}}", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" + }, + "artifactGC": { + "description": "ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts unless Artifact.ArtifactGC is specified, which overrides this)", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowLevelArtifactGC" + }, + "artifactRepositoryRef": { + "description": "ArtifactRepositoryRef specifies the configMap name and key containing the artifact repository config.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactRepositoryRef" + }, + "automountServiceAccountToken": { + "description": "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" + }, + "dnsConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig" + }, + "dnsPolicy": { + "description": "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" + }, + "entrypoint": { + "description": "Entrypoint is a template reference to the starting point of the io.argoproj.workflow.v1alpha1.", + "type": "string" + }, + "executor": { + "description": "Executor holds configurations of executor containers of the io.argoproj.workflow.v1alpha1.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ExecutorConfig" + }, + "hooks": { + "description": "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": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LifecycleHook" + } + }, + "hostAliases": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "hostNetwork": { + "description": "Host networking requested for this workflow pod. Default to false.", + "type": "boolean" + }, + "imagePullSecrets": { + "description": "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "metrics": { + "description": "Metrics are a list of metrics emitted from this Workflow", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metrics" + }, + "nodeSelector": { + "description": "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": "object", + "additionalProperties": { + "type": "string" + } + }, + "onExit": { + "description": "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" + }, + "parallelism": { + "description": "Parallelism limits the max total parallel pods that can execute at the same time in a workflow", + "type": "integer" + }, + "podDisruptionBudget": { + "description": "PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods. Controller will automatically add the selector with workflow name, if selector is empty. Optional: Defaults to empty.", + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec" + }, + "podGC": { + "description": "PodGC describes the strategy to use when deleting completed pods", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.PodGC" + }, + "podMetadata": { + "description": "PodMetadata defines additional metadata that should be applied to workflow pods", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Metadata" + }, + "podPriority": { + "description": "Priority to apply to workflow pods. DEPRECATED: Use PodPriorityClassName instead.", + "type": "integer" + }, + "podPriorityClassName": { + "description": "PriorityClassName to apply to workflow pods.", + "type": "string" + }, + "podSpecPatch": { + "description": "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" + }, + "priority": { + "description": "Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first.", + "type": "integer" + }, + "retryStrategy": { + "description": "RetryStrategy for all templates in the io.argoproj.workflow.v1alpha1.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.RetryStrategy" + }, + "schedulerName": { + "description": "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" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as.", + "type": "string" + }, + "shutdown": { + "description": "Shutdown will shutdown the workflow according to its ShutdownStrategy", + "type": "string" + }, + "suspend": { + "description": "Suspend will suspend the workflow and prevent execution of any future steps in the workflow", + "type": "boolean" + }, + "synchronization": { + "description": "Synchronization holds synchronization lock configuration for this Workflow", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Synchronization" + }, + "templateDefaults": { + "description": "TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + }, + "templates": { + "description": "Templates is a list of workflow templates used in a workflow", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "tolerations": { + "description": "Tolerations to apply to workflow pods.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-patch-merge-key": "key", + "x-kubernetes-patch-strategy": "merge" + }, + "ttlStrategy": { + "description": "TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be deleted after the time to live expires. If this field is unset, the controller config map will hold the default values.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TTLStrategy" + }, + "volumeClaimGC": { + "description": "VolumeClaimGC describes the strategy to use when deleting volumes from completed workflows", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.VolumeClaimGC" + }, + "volumeClaimTemplates": { + "description": "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", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "volumes": { + "description": "Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "workflowMetadata": { + "description": "WorkflowMetadata contains some metadata of the workflow to refer to", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowMetadata" + }, + "workflowTemplateRef": { + "description": "WorkflowTemplateRef holds a reference to a WorkflowTemplate for execution", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplateRef" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowStatus": { + "description": "WorkflowStatus contains overall status information about a workflow", + "type": "object", + "properties": { + "artifactGCStatus": { + "description": "ArtifactGCStatus maintains the status of Artifact Garbage Collection", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtGCStatus" + }, + "artifactRepositoryRef": { + "description": "ArtifactRepositoryRef is used to cache the repository to use so we do not need to determine it everytime we reconcile.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactRepositoryRefStatus" + }, + "compressedNodes": { + "description": "Compressed and base64 decoded Nodes map", + "type": "string" + }, + "conditions": { + "description": "Conditions is a list of conditions the Workflow may have", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Condition" + } + }, + "estimatedDuration": { + "description": "EstimatedDuration in seconds.", + "type": "integer" + }, + "finishedAt": { + "description": "Time at which this workflow completed", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about why the workflow is in this condition.", + "type": "string" + }, + "nodes": { + "description": "Nodes is a mapping between a node ID and the node's status.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeStatus" + } + }, + "offloadNodeStatusVersion": { + "description": "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.", + "type": "string" + }, + "outputs": { + "description": "Outputs captures output values and artifact locations produced by the workflow via global outputs", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" + }, + "persistentVolumeClaims": { + "description": "PersistentVolumeClaims tracks all PVCs that were created as part of the io.argoproj.workflow.v1alpha1. The contents of this list are drained at the end of the workflow.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + } + }, + "phase": { + "description": "Phase a simple, high-level summary of where the workflow is in its lifecycle. Will be \"\" (Unknown), \"Pending\", or \"Running\" before the workflow is completed, and \"Succeeded\", \"Failed\" or \"Error\" once the workflow has completed.", + "type": "string" + }, + "progress": { + "description": "Progress to completion", + "type": "string" + }, + "resourcesDuration": { + "description": "ResourcesDuration is the total for the workflow", + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + }, + "startedAt": { + "description": "Time at which this workflow started", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "storedTemplates": { + "description": "StoredTemplates is a mapping between a template ref and the node's status.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + } + }, + "storedWorkflowTemplateSpec": { + "description": "StoredWorkflowSpec stores the WorkflowTemplate spec for future execution.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" + }, + "synchronization": { + "description": "Synchronization stores the status of synchronization locks", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SynchronizationStatus" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowStep": { + "description": "WorkflowStep is a reference to a template to execute in a series of step", + "type": "object", + "properties": { + "arguments": { + "description": "Arguments hold arguments to the template", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Arguments" + }, + "continueOn": { + "description": "ContinueOn makes argo to proceed with the following step even if this step fails. Errors and Failed states can be specified", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ContinueOn" + }, + "hooks": { + "description": "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": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.LifecycleHook" + } + }, + "inline": { + "description": "Inline is the template. Template must be empty if this is declared (and vice-versa).", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + }, + "name": { + "description": "Name of the step", + "type": "string" + }, + "onExit": { + "description": "OnExit is a template reference which is invoked at the end of the template, irrespective of the success, failure, or error of the primary template. DEPRECATED: Use Hooks[exit].Template instead.", + "type": "string" + }, + "template": { + "description": "Template is the name of the template to execute as the step", + "type": "string" + }, + "templateRef": { + "description": "TemplateRef is the reference to the template resource to execute as the step.", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.TemplateRef" + }, + "when": { + "description": "When is an expression in which the step should conditionally execute", + "type": "string" + }, + "withItems": { + "description": "WithItems expands a step into multiple parallel steps from the items in the list", + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Item" + } + }, + "withParam": { + "description": "WithParam expands a step into multiple parallel steps from the value in the parameter, which is expected to be a JSON list.", + "type": "string" + }, + "withSequence": { + "description": "WithSequence expands a step into a numeric sequence", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Sequence" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowStopRequest": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "nodeFieldSelector": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowSubmitRequest": { + "type": "object", + "properties": { + "namespace": { + "type": "string" + }, + "resourceKind": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "submitOptions": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SubmitOpts" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowSuspendRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTaskSetSpec": { + "type": "object", + "properties": { + "tasks": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTaskSetStatus": { + "type": "object", + "properties": { + "nodes": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeResult" + } + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplate": { + "description": "WorkflowTemplate is the definition of a workflow template resource", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowSpec" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateCreateRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "namespace": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateDeleteResponse": { + "type": "object" + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateLintRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "namespace": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateList": { + "description": "WorkflowTemplateList is list of WorkflowTemplate resources", + "type": "object", + "required": [ + "metadata", + "items" + ], + "properties": { + "apiVersion": { + "description": "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", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + }, + "kind": { + "description": "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", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateRef": { + "description": "WorkflowTemplateRef is a reference to a WorkflowTemplate resource.", + "type": "object", + "properties": { + "clusterScope": { + "description": "ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate).", + "type": "boolean" + }, + "name": { + "description": "Name is the resource name of the workflow template.", + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTemplateUpdateRequest": { + "type": "object", + "properties": { + "name": { + "description": "DEPRECATED: This field is ignored.", + "type": "string" + }, + "namespace": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.WorkflowTemplate" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowTerminateRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + } + } + }, + "io.argoproj.workflow.v1alpha1.WorkflowWatchEvent": { + "type": "object", + "properties": { + "object": { + "title": "the workflow", + "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow" + }, + "type": { + "type": "string", + "title": "the type of change" + } + } + }, + "io.argoproj.workflow.v1alpha1.ZipStrategy": { + "description": "ZipStrategy will unzip zipped input artifacts", + "type": "object" + }, + "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer" + }, + "readOnly": { + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Affinity": { + "description": "Affinity is a group of affinity scheduling rules.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity" + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity" + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity" + } + } + }, + "io.k8s.api.core.v1.AzureDiskVolumeSource": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "The Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "The URI the data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "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.", + "type": "string" + }, + "kind": { + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.AzureFileVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "Share Name", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CSIVolumeSource": { + "description": "Represents a source location of a volume to mount, managed by an external CSI driver", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "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.", + "type": "string" + }, + "fsType": { + "description": "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.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "readOnly": { + "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.Capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "type": "string" + } + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.CephFSVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CinderVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "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://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ConfigMapEnvSource": { + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.ConfigMapKeySelector": { + "description": "Selects a key from a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ConfigMapProjection": { + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + } + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.ConfigMapVolumeSource": { + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + } + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.Container": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "image" + ], + "properties": { + "args": { + "description": "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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(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", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + } + }, + "image": { + "description": "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.", + "type": "string" + }, + "imagePullPolicy": { + "description": "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\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present", + "type": "string", + "enum": [ + "Always", + "IfNotPresent", + "Never" + ] + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "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.", + "type": "boolean" + }, + "stdinOnce": { + "description": "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", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "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.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "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.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.", + "type": "string", + "enum": [ + "FallbackToLogsOnError", + "File" + ] + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "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.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ContainerPort": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 \u003c x \u003c 65536.", + "type": "integer" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 \u003c x \u003c 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "type": "integer" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + } + }, + "io.k8s.api.core.v1.DownwardAPIProjection": { + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + } + } + } + }, + "io.k8s.api.core.v1.DownwardAPIVolumeFile": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" + } + } + }, + "io.k8s.api.core.v1.DownwardAPIVolumeSource": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + } + } + } + }, + "io.k8s.api.core.v1.EmptyDirVolumeSource": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "medium": { + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.core.v1.EnvFromSource": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource" + } + } + }, + "io.k8s.api.core.v1.EnvVar": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource" + } + } + }, + "io.k8s.api.core.v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['\u003cKEY\u003e']`, `metadata.annotations['\u003cKEY\u003e']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.k8s.api.core.v1.EphemeralVolumeSource": { + "description": "Represents an ephemeral volume that is handled by a normal storage driver.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `\u003cpod name\u003e-\u003cvolume name\u003e` where `\u003cvolume name\u003e` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimTemplate" + } + } + }, + "io.k8s.api.core.v1.Event": { + "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", + "type": "object", + "required": [ + "metadata", + "involvedObject" + ], + "properties": { + "action": { + "description": "What action was taken/failed regarding to the Regarding object.", + "type": "string" + }, + "apiVersion": { + "description": "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.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "count": { + "description": "The number of times this event has occurred.", + "type": "integer" + }, + "eventTime": { + "description": "Time when this Event was first observed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "firstTimestamp": { + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "involvedObject": { + "description": "The object that this event is about.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "kind": { + "description": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "lastTimestamp": { + "description": "The time at which the most recent occurrence of this event was recorded.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "reason": { + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "type": "string" + }, + "related": { + "description": "Optional secondary object for more complex actions.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "reportingComponent": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "description": "Data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries" + }, + "source": { + "description": "The component reporting this event. Should be a short machine understandable string.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", + "type": "object", + "properties": { + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", + "type": "integer" + }, + "lastObservedTime": { + "description": "Time of the last occurrence observed", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + } + } + }, + "io.k8s.api.core.v1.EventSource": { + "description": "EventSource contains information for an event.", + "type": "object", + "properties": { + "component": { + "description": "Component from which the event is generated.", + "type": "string" + }, + "host": { + "description": "Node name on which the event is generated.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.FCVolumeSource": { + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "fsType": { + "description": "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.", + "type": "string" + }, + "lun": { + "description": "Optional: FC target lun number", + "type": "integer" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + } + }, + "wwids": { + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.FlexVolumeSource": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "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.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + } + } + }, + "io.k8s.api.core.v1.FlockerVolumeSource": { + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "properties": { + "datasetName": { + "description": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker should be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer" + }, + "pdName": { + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.GRPCAction": { + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GitRepoVolumeSource": { + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "Repository URL", + "type": "string" + }, + "revision": { + "description": "Commit hash for the specified revision.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GlusterfsVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.HTTPGetAction": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - `\"HTTP\"` means that the scheme used will be http://\n - `\"HTTPS\"` means that the scheme used will be https://", + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + } + } + }, + "io.k8s.api.core.v1.HTTPHeader": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.HostAlias": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", + "type": "object", + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.HostPathVolumeSource": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ISCSIVolumeSource": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface \u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "type": "integer" + }, + "portals": { + "description": "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).", + "type": "array", + "items": { + "type": "string" + } + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "CHAP Secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "targetPortal": { + "description": "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).", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.KeyToPath": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "The key to project.", + "type": "string" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "path": { + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/io.k8s.api.core.v1.LifecycleHandler" + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/io.k8s.api.core.v1.LifecycleHandler" + } + } + }, + "io.k8s.api.core.v1.LifecycleHandler": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.", + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" + } + } + }, + "io.k8s.api.core.v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NFSVolumeSource": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "server", + "path" + ], + "properties": { + "path": { + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NodeAffinity": { + "description": "Node affinity is a group of node affinity scheduling rules.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" + } + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + } + } + }, + "io.k8s.api.core.v1.NodeSelector": { + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeSelectorRequirement": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"Gt\"`\n - `\"In\"`\n - `\"Lt\"`\n - `\"NotIn\"`", + "type": "string", + "enum": [ + "DoesNotExist", + "Exists", + "Gt", + "In", + "Lt", + "NotIn" + ] + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.NodeSelectorTerm": { + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ObjectFieldSelector": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.PersistentVolumeClaim": { + "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", + "type": "object", + "properties": { + "apiVersion": { + "description": "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.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" + }, + "status": { + "description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { + "description": "PersistentVolumeClaimCondition contails details about state of pvc", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastProbeTime": { + "description": "Last time we probed the condition.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.", + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "description": "\n\n\nPossible enum values:\n - `\"FileSystemResizePending\"` - controller resize is finished and a file system resize is pending on node\n - `\"Resizing\"` - a user trigger resize of pvc has been started", + "type": "string", + "enum": [ + "FileSystemResizePending", + "Resizing" + ] + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "type": "object", + "properties": { + "accessModes": { + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + } + }, + "dataSource": { + "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field.", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" + }, + "dataSourceRef": { + "description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled.", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" + }, + "resources": { + "description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "selector": { + "description": "A label query over volumes to consider for binding.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "storageClassName": { + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimStatus": { + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", + "type": "object", + "properties": { + "accessModes": { + "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + } + }, + "allocatedResources": { + "description": "The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "capacity": { + "description": "Represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "conditions": { + "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "phase": { + "description": "Phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound", + "type": "string", + "enum": [ + "Bound", + "Lost", + "Pending" + ] + }, + "resizeStatus": { + "description": "ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimTemplate": { + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { + "description": "Represents a Photon Controller persistent disk resource.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "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.", + "type": "string" + }, + "pdID": { + "description": "ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodAffinity": { + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" + } + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + } + } + } + }, + "io.k8s.api.core.v1.PodAffinityTerm": { + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"", + "type": "array", + "items": { + "type": "string" + } + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodAntiAffinity": { + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" + } + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + } + } + } + }, + "io.k8s.api.core.v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "type": "array", + "items": { + "type": "string" + } + }, + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" + } + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.PodDNSConfigOption": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "properties": { + "name": { + "description": "Required.", + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodSecurityContext": { + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile" + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.", + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" + } + } + }, + "io.k8s.api.core.v1.PortworxVolumeSource": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "VolumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PreferredSchedulingTerm": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "weight", + "preference" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer" + } + } + }, + "io.k8s.api.core.v1.Probe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "type": "integer" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate.", + "$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction" + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer" + } + } + }, + "io.k8s.api.core.v1.ProjectedVolumeSource": { + "description": "Represents a projected volume source", + "type": "object", + "properties": { + "defaultMode": { + "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "sources": { + "description": "list of volume projections", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" + } + } + } + }, + "io.k8s.api.core.v1.QuobyteVolumeSource": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "Group to map volume access to Default is no group", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", + "type": "boolean" + }, + "registry": { + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "User to map volume access to Defaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "Volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "monitors", + "image" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ResourceFieldSelector": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + } + }, + "io.k8s.api.core.v1.SELinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ScaleIOVolumeSource": { + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "type": "object", + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "The host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "The name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "sslEnabled": { + "description": "Flag to enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "The ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "The name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.SeccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - `\"Localhost\"` indicates a profile defined in a file on the node should be used. The file's location relative to \u003ckubelet-root-dir\u003e/seccomp.\n - `\"RuntimeDefault\"` represents the default container runtime seccomp profile.\n - `\"Unconfined\"` indicates no seccomp profile is applied (A.K.A. unconfined).", + "type": "string", + "enum": [ + "Localhost", + "RuntimeDefault", + "Unconfined" + ] + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "io.k8s.api.core.v1.SecretEnvSource": { + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.SecretKeySelector": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.SecretProjection": { + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + } + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.SecretVolumeSource": { + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer" + }, + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + } + }, + "optional": { + "description": "Specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod \u0026 container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.", + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" + } + } + }, + "io.k8s.api.core.v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ServicePort": { + "description": "ServicePort contains information on service's port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", + "type": "string" + }, + "nodePort": { + "description": "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", + "type": "integer" + }, + "port": { + "description": "The port that will be exposed by this service.", + "type": "integer" + }, + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + }, + "targetPort": { + "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.core.v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", + "type": "object", + "properties": { + "fsType": { + "description": "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.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "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.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.core.v1.Toleration": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "type": "string", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ] + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`", + "type": "string", + "enum": [ + "Equal", + "Exists" + ] + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "type": "integer" + }, + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.Volume": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource" + }, + "cephfs": { + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource" + }, + "cinder": { + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" + }, + "configMap": { + "description": "ConfigMap represents a configMap that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" + }, + "csi": { + "description": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" + }, + "downwardAPI": { + "description": "DownwardAPI represents downward API about the pod that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource" + }, + "emptyDir": { + "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" + }, + "ephemeral": { + "description": "Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.", + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralVolumeSource" + }, + "fc": { + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" + }, + "flocker": { + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" + }, + "gitRepo": { + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" + }, + "glusterfs": { + "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource" + }, + "name": { + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" + }, + "photonPersistentDisk": { + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" + }, + "projected": { + "description": "Items for all in one resources secrets, configmaps, and downward API", + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" + }, + "quobyte": { + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource" + }, + "scaleIO": { + "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource" + }, + "secret": { + "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" + }, + "storageos": { + "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource" + }, + "vsphereVolume": { + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" + } + } + }, + "io.k8s.api.core.v1.VolumeDevice": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "name", + "devicePath" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.VolumeMount": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.VolumeProjection": { + "description": "Projection that may be projected along with other supported volume types", + "type": "object", + "properties": { + "configMap": { + "description": "information about the configMap data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection" + }, + "downwardAPI": { + "description": "information about the downwardAPI data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection" + }, + "secret": { + "description": "information about the secret data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" + } + } + }, + "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere volume resource.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "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.", + "type": "string" + }, + "storagePolicyID": { + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "Storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "Path that identifies vSphere volume vmdk", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "type": "integer" + } + } + }, + "io.k8s.api.core.v1.WindowsSecurityContextOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + }, + "io.k8s.api.policy.v1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "type": "object", + "properties": { + "maxUnavailable": { + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "minAvailable": { + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "selector": { + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", + "x-kubernetes-patch-strategy": "replace", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + } + }, + "io.k8s.apimachinery.pkg.api.resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\u003cquantity\u003e ::= \u003csignedNumber\u003e\u003csuffix\u003e\n (Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\u003cdigit\u003e ::= 0 | 1 | ... | 9 \u003cdigits\u003e ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e ::= \"+\" | \"-\" \u003csignedNumber\u003e ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\u003cdecimalSI\u003e ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions": { + "description": "CreateOptions may be provided when creating an API object.", + "type": "object", + "properties": { + "dryRun": { + "type": "array", + "title": "When present, indicates that modifications should not be\npersisted. An invalid or unrecognized dryRun directive will\nresult in an error response and no further processing of the\nrequest. Valid values are:\n- All: all dry run stages will be processed\n+optional", + "items": { + "type": "string" + } + }, + "fieldManager": { + "type": "string", + "title": "fieldManager is a name associated with the actor or entity\nthat is making these changes. The value must be less than or\n128 characters long, and only contain printable characters,\nas defined by https://golang.org/pkg/unicode/#IsPrint.\n+optional" + }, + "fieldValidation": { + "type": "string", + "title": "fieldValidation instructs the server on how to handle\nobjects in the request (POST/PUT/PATCH) containing unknown\nor duplicate fields, provided that the `ServerSideFieldValidation`\nfeature gate is also enabled. Valid values are:\n- Ignore: This will ignore any unknown fields that are silently\ndropped from the object, and will ignore all but the last duplicate\nfield that the decoder encounters. This is the default behavior\nprior to v1.23 and is the default behavior when the\n`ServerSideFieldValidation` feature gate is disabled.\n- Warn: This will send a warning via the standard warning response\nheader for each unknown field that is dropped from the object, and\nfor each duplicate field that is encountered. The request will\nstill succeed if there are no other errors, and will only persist\nthe last of any duplicate fields. This is the default when the\n`ServerSideFieldValidation` feature gate is enabled.\n- Strict: This will fail the request with a BadRequest error if\nany unknown fields would be dropped from the object, or if any\nduplicate fields are present. The error returned from the server\nwill contain all unknown and duplicate fields encountered.\n+optional" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { + "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:\u003cname\u003e', where \u003cname\u003e is the name of a field in a struct, or key in a map 'v:\u003cvalue\u003e', where \u003cvalue\u003e is the exact json formatted value of a list item 'i:\u003cindex\u003e', where \u003cindex\u003e is position of a item in a list 'k:\u003ckeys\u003e', where \u003ckeys\u003e is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionResource": { + "description": "+protobuf.options.(gogoproto.goproto_stringer)=false", + "type": "object", + "title": "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion\nto avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling", + "properties": { + "group": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + } + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string", + "x-kubernetes-patch-merge-key": "key", + "x-kubernetes-patch-strategy": "merge" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta": { + "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", + "type": "object", + "properties": { + "continue": { + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", + "type": "string" + }, + "remainingItemCount": { + "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", + "type": "integer" + }, + "resourceVersion": { + "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { + "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", + "type": "string" + }, + "fieldsType": { + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", + "type": "string" + }, + "fieldsV1": { + "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" + }, + "manager": { + "description": "Manager is an identifier of the workflow managing these fields.", + "type": "string" + }, + "operation": { + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", + "type": "string" + }, + "subresource": { + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", + "type": "string" + }, + "time": { + "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { + "description": "MicroTime is version of Time with microsecond level precision.", + "type": "string", + "format": "date-time" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "clusterName": { + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", + "type": "string" + }, + "creationTimestamp": { + "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "deletionGracePeriodSeconds": { + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", + "type": "integer" + }, + "deletionTimestamp": { + "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "finalizers": { + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-patch-strategy": "merge" + }, + "generateName": { + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", + "type": "string" + }, + "generation": { + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", + "type": "integer" + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "managedFields": { + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + }, + "namespace": { + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", + "type": "string" + }, + "ownerReferences": { + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" + }, + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" + }, + "resourceVersion": { + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", + "type": "string" + }, + "uid": { + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", + "type": "object", + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "blockOwnerDeletion": { + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", + "type": "boolean" + }, + "controller": { + "description": "If true, this reference points to the managing controller.", + "type": "boolean" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", + "type": "object", + "properties": { + "field": { + "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", + "type": "string" + }, + "message": { + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", + "type": "string" + }, + "reason": { + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "type": "string", + "format": "date-time" + }, + "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { + "type": "string" + }, + "sensor.CreateSensorRequest": { + "type": "object", + "properties": { + "createOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions" + }, + "namespace": { + "type": "string" + }, + "sensor": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + } + }, + "sensor.DeleteSensorResponse": { + "type": "object" + }, + "sensor.LogEntry": { + "type": "object", + "title": "structured log entry", + "properties": { + "dependencyName": { + "type": "string", + "title": "optional - trigger dependency name" + }, + "eventContext": { + "type": "string", + "title": "optional - Cloud Event context" + }, + "level": { + "type": "string" + }, + "msg": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "sensorName": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "triggerName": { + "type": "string", + "title": "optional - any trigger name" + } + } + }, + "sensor.SensorWatchEvent": { + "type": "object", + "properties": { + "object": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + }, + "type": { + "type": "string" + } + } + }, + "sensor.UpdateSensorRequest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "sensor": { + "$ref": "#/definitions/io.argoproj.events.v1alpha1.Sensor" + } + } + } + }, + "securityDefinitions": { + "BearerToken": { + "description": "Bearer Token authentication", + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "security": [ + { + "BearerToken": [] + } + ] +} \ No newline at end of file diff --git a/plugins/argo-workflows/src/api/index.ts b/plugins/argo-workflows/src/api/index.ts index 3fe1cfd..680f509 100644 --- a/plugins/argo-workflows/src/api/index.ts +++ b/plugins/argo-workflows/src/api/index.ts @@ -3,7 +3,7 @@ import { createApiRef } from "@backstage/core-plugin-api"; import { IoArgoprojWorkflowV1alpha1WorkflowList, IoArgoprojWorkflowV1alpha1WorkflowTemplateList, -} from "./generated/"; +} from "./generated/api"; export { ArgoWorkflows } from "./ArgoWorkflows"; diff --git a/plugins/argo-workflows/src/components/Overview/Overview.tsx b/plugins/argo-workflows/src/components/Overview/Overview.tsx index b8209fb..aa1d205 100644 --- a/plugins/argo-workflows/src/components/Overview/Overview.tsx +++ b/plugins/argo-workflows/src/components/Overview/Overview.tsx @@ -26,6 +26,9 @@ export const ArgoWorkflowsOverviewPage = () => ( + + + ); diff --git a/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.test.tsx b/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.test.tsx index 06d459d..a01fd01 100644 --- a/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.test.tsx +++ b/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.test.tsx @@ -17,7 +17,7 @@ import { KubernetesApi, kubernetesApiRef } from "@backstage/plugin-kubernetes"; import { EntityProvider } from "@backstage/plugin-catalog-react"; import { OverviewTable } from "./WorkflowOverview"; import { inProgress, mixResponse } from "../../test-data/testResponse"; -import { IoArgoprojWorkflowV1alpha1WorkflowList } from "../../api/generated"; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from "../../api/generated/api"; const BASE_URL = "https://backstage.io"; const mockConfigApi = new MockConfigApi({ diff --git a/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.tsx b/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.tsx index 4b78a84..18ce9c8 100644 --- a/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.tsx +++ b/plugins/argo-workflows/src/components/WorkflowOverview/WorkflowOverview.tsx @@ -2,10 +2,10 @@ import { configApiRef, useApi } from "@backstage/core-plugin-api"; import { argoWorkflowsApiRef } from "../../api"; import useAsync from "react-use/lib/useAsync"; import { Link, Progress, Table, TableColumn } from "@backstage/core-components"; -import React from "react"; +import React, { useState, useEffect } from "react"; import Alert from "@material-ui/lab/Alert"; import { useEntity } from "@backstage/plugin-catalog-react"; -import { IoArgoprojWorkflowV1alpha1WorkflowList } from "../../api/generated"; +import { IoArgoprojWorkflowV1alpha1WorkflowList } from "../../api/generated/api"; import { getAnnotationValues, trimBaseUrl } from "../utils"; type TableData = { @@ -25,9 +25,8 @@ export const OverviewTable = () => { const argoWorkflowsBaseUrl = trimBaseUrl( configApi.getOptionalString("argoWorkflows.baseUrl") ); - + const [columnData, setColumnData] = useState([] as TableData[]); const { ns, clusterName, labelSelector } = getAnnotationValues(entity); - const columns: TableColumn[] = [ { title: "Name", @@ -72,12 +71,27 @@ export const OverviewTable = () => { { title: "EndTime", field: "finishedAt", type: "datetime" }, { title: "Namespace", field: "namespace", type: "string" }, ]; - const { value, loading, error } = useAsync( async (): Promise => { return await apiClient.getWorkflows(clusterName, ns, labelSelector); } ); + useEffect(() => { + const data = value?.items?.map((val) => { + return { + id: val.metadata.name, + name: val.metadata.name, + namespace: val.metadata.namespace, + phase: val.status?.phase, + progress: val.status?.progress, + startedAt: val.status?.startedAt, + finishedAt: val.status?.finishedAt, + } as TableData; + }); + if (data && data.length > 0) { + setColumnData(data); + } + }, [value]); if (loading) { return ; @@ -85,33 +99,16 @@ export const OverviewTable = () => { return {`${error}`}; } - const data = value?.items?.map((val) => { - return { - id: val.metadata.name, - name: val.metadata.name, - namespace: val.metadata.namespace, - phase: val.status?.phase, - progress: val.status?.progress, - startedAt: val.status?.startedAt, - finishedAt: val.status?.finishedAt, - } as TableData; - }); - - if (data && data.length > 0) { - return ( - - ); - } return ( - "No workflows found with provided labels" +
); }; diff --git a/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.test.tsx b/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.test.tsx index 3da7a3a..f122249 100644 --- a/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.test.tsx +++ b/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.test.tsx @@ -17,7 +17,7 @@ import { KubernetesApi, kubernetesApiRef } from "@backstage/plugin-kubernetes"; import { EntityProvider } from "@backstage/plugin-catalog-react"; import { WorkflowTemplateTable } from "./WorkflowTemplateOverview"; import { simple } from "../../test-data/testResponseWorkflowTemplates"; -import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from "../../api/generated"; +import { IoArgoprojWorkflowV1alpha1WorkflowTemplateList } from "../../api/generated/api"; const BASE_URL = "https://backstage.io"; const mockConfigApi = new MockConfigApi({ diff --git a/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.tsx b/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.tsx index b2bd088..92a12f7 100644 --- a/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.tsx +++ b/plugins/argo-workflows/src/components/WorkflowTemplateOverview/WorkflowTemplateOverview.tsx @@ -3,7 +3,7 @@ import { configApiRef, useApi } from "@backstage/core-plugin-api"; import { argoWorkflowsApiRef } from "../../api"; import { getAnnotationValues, trimBaseUrl } from "../utils"; import { Link, Progress, Table, TableColumn } from "@backstage/core-components"; -import React from "react"; +import React, { useEffect, useState } from "react"; import useAsync from "react-use/lib/useAsync"; import Alert from "@material-ui/lab/Alert"; @@ -21,6 +21,7 @@ export const WorkflowTemplateTable = () => { const argoWorkflowsBaseUrl = trimBaseUrl( configApi.getOptionalString("argoWorkflows.baseUrl") ); + const [columnData, setColumnData] = useState([] as TableData[]); const { ns, clusterName, labelSelector } = getAnnotationValues(entity); const columns: TableColumn[] = [ @@ -49,34 +50,36 @@ export const WorkflowTemplateTable = () => { return await apiClient.getWorkflowTemplates(clusterName, ns, labelSelector); }); + useEffect(() => { + const data = value?.items?.map((val) => { + return { + id: val.metadata.name, + name: val.metadata.name, + namespace: val.metadata.namespace, + entrypoint: val.spec.entrypoint, + } as TableData; + }); + if (data && data.length > 0) { + setColumnData(data); + } + }, [value]); + if (loading) { return ; } else if (error) { return {`${error}`}; } - const data = value?.items?.map((val) => { - return { - id: val.metadata.name, - name: val.metadata.name, - namespace: val.metadata.namespace, - entrypoint: val.spec.entrypoint, - } as TableData; - }); - if (data && data.length > 0) { - return ( -
- ); - } + return ( - "No workflows found with provided labels" +
); };